Re: SortingLeafReader and IndexWriter.addIndexes

2015-12-16 Thread John Wang
Thanks Adrien! -John On Wed, Dec 16, 2015 at 1:09 AM, Adrien Grand wrote: > Hi John, > > Javadocs are outdated indeed. You can use SlowCodecReaderWrapper.wrap to > make the sorting reader implement the codec reader API. > > Le mer. 16 déc. 2015 à 02:58, John Wang a écrit : > >> Hi folks: >> >>

Re: SortingLeafReader and IndexWriter.addIndexes

2015-12-16 Thread Adrien Grand
Hi John, Javadocs are outdated indeed. You can use SlowCodecReaderWrapper.wrap to make the sorting reader implement the codec reader API. Le mer. 16 déc. 2015 à 02:58, John Wang a écrit : > Hi folks: > > I am interested in using the SortingLeafReader to sort my index. According > to examples, c

SortingLeafReader and IndexWriter.addIndexes

2015-12-15 Thread John Wang
Hi folks: I am interested in using the SortingLeafReader to sort my index. According to examples, calling IndexWriter.addIndexes on the wrapper SortingLeafReader would do the trick. In the recent releases, IndexWriter.addIndexes api is now only taking a CodecReader. Is there another way to do ind