lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Turcotte" <>
Subject Re: Specific Query on multiple fields
Date Thu, 09 Nov 2006 14:03:33 GMT

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.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message