Karsten F. wrote:
Hi Bill,
you should not use prefix-query (*), because in first step lucene would
generate a list of all terms in this field, and than search for all this
terms. Which is senceless.
That's not quite an accurate description of what it does as it nowhere
near as slow as doi
Hi Bill,
A simpler suggestion, assuming you need to test for the existence of just one
particular field: rather than adding a field containing a list of all indexed
fields for a particular document, as Karsten suggested, you could just add a
field with a constant value when the field you want t
#x27;ll give it a try.
> Thanks for the help.
>
> regards,
>
> Bill
>
>
> -Original Message-
> From: Karsten F. [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 18, 2008 11:45 AM
> To: java-user@lucene.apache.org
> Subject: Re: Testing for field existence
&
ssage-
From: Karsten F. [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2008 11:45 AM
To: java-user@lucene.apache.org
Subject: Re: Testing for field existence
Hi Bill,
you should not use prefix-query (*), because in first step lucene
would
generate a list of all terms in this field, and
Hi Bill,
you should not use prefix-query (*), because in first step lucene would
generate a list of all terms in this field, and than search for all this
terms. Which is senceless.
I would suggest to insert a new field "myFields" which contains as value the
names of all fields for this docum