The thing to remember is that in order to get the top-scoring
documents (e.g. TopDocCollector or Hits), Lucene has to
see how *every* document scores. What if the very last
document that satisfies the query is the highest scoring?

Best
Erick

On Mon, Sep 29, 2008 at 2:57 AM, <[EMAIL PROTECTED]> wrote:

> Hi,
>
> Do I really get all results if I use a custom hitcollector?
> This would be great :-)
>
> Regards,
> Gregor
>
>
>
> -----Original Message-----
> From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]
> Sent: Freitag, 26. September 2008 17:00
> To: java-user@lucene.apache.org
> Subject: Re: Getting all found document ids from a search result
>
> Gregor,
>
> You could loop through the results or collect them using a custom
> HitCollector.
>
>
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> ----- Original Message ----
> > From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > To: java-user@lucene.apache.org
> > Sent: Friday, September 26, 2008 10:31:37 AM
> > Subject: Getting all found document ids from a search result
> >
> >
> > Hello you all,
> >
> >
> >
> > is it somehow possible to get all document ids found by a search. Not
> only 50 or
> > 100...
> >
> > If it is possible and someone knows it, please help me :-)
> >
> >
> >
> >
> >
> > Thanks and beste regards,
> >
> > Gregor
> >
> >
> >
> > TREND MICRO Deutschland GmbH, Lise-Meitner-Str. 4, D-85716
> Unterschleissheim,
> > Germany
> > Geschaeftsfuehrer: Raimund Genes, Amtsgericht Muenchen - HRB 114739
> >
> > Die in dieser E-Mail und ihren etwaigen Anhaengen enthaltenen
> Informationen sind
> > vertraulich und koennen gewerblichen Schutzrechten unterliegen. Sollten
> Sie
> > keiner der vorgesehenen Empfaenger sein, sind Sie nicht berechtigt, diese
> > Nachricht in irgendeiner Weise zu benutzen oder weiterzugeben. Bitte
> > benachrichtigen Sie uns ggf. per Rueckantwort oder telefonisch
> (089-37479700)
> > und loeschen Sie diese E-Mail aus Ihrem E-Mail-System.
> >
> > The information contained in this email and any attachments is
> confidential and
> > may be subject to copyright or other intellectual property protection. If
> you
> > are not the intended recipient, you are not authorized to use or disclose
> this
> > information, and we request that you notify us by reply mail or telephone
> and
> > delete the original message from your mail system.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to