Существуют порты Lucene. Пехлеви имеет одно в свободном доступе. Взгляните на это быстрое учебное руководство: http://devzone.zend.com/node/view/id/91
Вы можете получить самые последние инциденты для каждого устройства (так я понял ваш вопрос) с помощью:
var query =
incidents.GroupBy(incident => incident.DeviceID)
.Select(g => g.OrderByDescending(incident => incident.Time).First())
.OrderBy(i => i.Time); // only add if you need results sorted
int filterDeviceID = 10;
var incidents = (from incident in incidentlist
where incident.DeviceID == filterDeviceID
select incident).Distinct().OrderBy( x => x.Time);