lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Dollinger <dollin...@webdynamite.com>
Subject Re: query parser
Date Wed, 08 Mar 2006 08:14:54 GMT
Take a look at the class MultiFieldQueryParser, I think it does exactly
what you want.

GR,
Rainer


Raghavendra Prabhu wrote:
> I want to use query parser to parse my query string
> 
> But the default field should be a group of fields with different fields
> where it is searched on
> 
> Can any one let me know
> 
> For example if my query is
> 
> new books
> 
> new should be searched in different fields ( content and title)
> 
> books should be searched in different fields ( content and title)
> 
> 
> How do i accomplish this and how can i extend querparser to do the above
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message