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.

    Erik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to