lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: TermQuery search returns the same Document several times
Date Thu, 05 Feb 2009 13:16:12 GMT
I don't understand your question. From the API docs for
HitCollector.collect:

<<<Called once for every non-zero scoring document, with
the document number and its score.>>>

Can you ask your question another way? Because the
only answer I can come up with is
"HitCollector.collect only sees each document once by definition".

Best
Erick

On Thu, Feb 5, 2009 at 7:17 AM, Lebiram <lebiram@ymail.com> wrote:

> Hi All,
>
> Is it possible to somehow ensure that a document will be returned only once
> when collecting from HitCollector?
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message