Hello, I am looking for a way to identify the open segment files in a lucene index, so that I can export only the closed segments (and the segmentsN file). My current ideas are:
- Ignore any segment files newer than the segmentsN file. OR - Open the segmentsN file using Lucene core's SegmentInfos class (which I presume would allow me to identify which are the closed segments). Could anyone provide suggestions on how to do this best? Ideally I'd like to do this without the SegmentInfos class if there is a suitable method. Thanks. -- Jacob Ward | Graduate Data Infrastructure Engineer jw...@brandwatch.com NEW YORK | BOSTON | BRIGHTON | LONDON | BERLIN | STUTTGART | PARIS | SINGAPORE | SYDNEY