lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer" <simon.willna...@googlemail.com>
Subject Re: search by field, not field value
Date Sun, 12 Nov 2006 17:32:35 GMT
Hey tony,
I guess the easiest way for you to do that is to create a extra field
containig the field names and just fire a boolean query on this extra
field.

best regards simon

On 11/12/06, tony yin <gaoligong@gmail.com> wrote:
> I want search document by specific field, not by field value, How to?
>
> I have some document store in fields{content, key, path} and some in
> {content, key, path, specific_field}
>
> and I want to find all the document that have specific_field, Could you help
> me?
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message