Hi Alexander,
In general, advance(target) is best used to implement queries and
advanceExact(target) for collectors.
See javadocs for advanceExact(target), this method may only be called
on doc IDs that are between 0 included and maxDoc excluded.
On Thu, Feb 3, 2022 at 10:00 AM Alexander Buloich
Hi.
I'm trying to retrieve field values in my own LeafCollector (Lucene 8.11.1).
But I didn't find good tutorial how to do it.
So, I get SortedSetDoc from LeafReader, then Lucene calls my implementation of
LeafCollector.collect() method, and I try to get values from SortedSetDoc
inside my imple