Hi,

How do we use a specific query on multiple fields ?

for eg.
I have to run a query "jakarta tomcat" (the string which i give in my
textbox is with double quotes as I have to get the string 'jakarta tomcat'
together)
on mutiple fields like "content" ,"title","examples"


Take a look at org.apache.lucene.queryParser.MultiFieldQueryParser, it
probably does what you want.

Patrick

Reply via email to