lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: LeafCollector
Date Thu, 01 Dec 2016 22:07:42 GMT
Lucene used to have a DuplicateFilter to do this, but we removed it
recently ... see for
some discussion as to why.

Mike McCandless

On Thu, Dec 1, 2016 at 2:39 PM, Matt Hicks <> wrote:
> I'm trying to write a LeafCollector that filters out duplicates for a
> specific field. However, looking at the JavaDoc for `collect` it says not
> to call `IndexSearch.doc` or `IndexReader.document`.  How am I supposed to
> determine the value of a field and then exclude it?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message