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 <[email protected]> a écrit :

> 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 indexing sorting?
>
> Appreciate any help.
>
> Thanks
>
> -John
>

Reply via email to