lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: querying multiple fields
Date Wed, 22 Jun 2005 16:14:14 GMT

On Jun 22, 2005, at 10:49 AM, George Abraham wrote:

> All,
> Forgive me for the basic question. When you are querying multiple
> fields using QueryParser, what is the exact code?
> I tried QueryParser.parse(queryString, "SearchTerms", analyzer) where
> queryString was "SearchTerms:visnu temple ImageExistsBit:1",
> SearchTerms and ImageExistsBit being the two fields I want searched.
> However it does not seem to do what I want it to do.

What analyzer are you using?   What is the .toString of the generated  
Query instance?  How did you index those fields?

Without answering those, it'd be guess work to offer any help.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message