lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Keegan" <peterlkee...@gmail.com>
Subject Re: FieldSortedHitQueue enhancement
Date Thu, 29 Mar 2007 16:42:58 GMT
Yes, my custom query processor can sometimes make 2 Lucene search calls
which may result in duplicate docs being inserted on the same PQ. The
simplest solution is to make lessThan public. I'm curious to know if anyone
else is performing multiple searches under the covers.

Peter

On 3/29/07, Yonik Seeley <yonik@apache.org> wrote:
>
> On 3/29/07, Otis Gospodnetic <otis_gospodnetic@yahoo.com> wrote:
> > Ah, I see.  This is less attractive to me personally, but maybe it helps
> others.  One thing I don't understand is why/how you'd get duplicate
> documents with the same doc ID in there.  Isn't insert(FieldDoc fdoc) called
> only once for each doc?
>
> Yes, for any Lucene search method.
> From Peter's first message, it looks like it's his custom code that
> can result in duplicates.
>
> -Yonik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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