George,

You can use MultiFieldQueryParser instead of QueryParser.

Otis


--- George Abraham <[EMAIL PROTECTED]> 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.
> 
> TIA,
> George
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to