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: Preventing merging by IndexWriter
Date Wed, 18 Oct 2006 00:35:07 GMT
True. But is it enough faster than TermDocs.seek(new Term("unique id",
id)).doc() to be worth the complication for this situation? <G>...

Erick

On 10/17/06, Daniel Noll <daniel@nuix.com.au> wrote:
>
> Erick Erickson wrote:
> > Why go through all this effort when it's easy to make your own unique
> ID?
>
> I can think of one reason: hits.id() is orders of magnitude faster than
> hits.doc().
>
> Daniel
>
>
> --
> Daniel Noll
>
> Nuix Pty Ltd
> Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
> Web: http://www.nuix.com.au/                        Fax: +61 2 9212 6902
>
> This message is intended only for the named recipient. If you are not
> the intended recipient you are notified that disclosing, copying,
> distributing or taking any action in reliance on the contents of this
> message or attachment is strictly prohibited.
>
> ---------------------------------------------------------------------
> 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