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 <[EMAIL PROTECTED]> wrote:

On 3/29/07, Otis Gospodnetic <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to