lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghavendra Prabhu" <rrpra...@gmail.com>
Subject Re: query parser
Date Wed, 08 Mar 2006 08:29:31 GMT
Hi Rainer

Thanks. I have one more doubt.

How do i set different boosts for each field using query parser

Can i set different boosts for each field?

Rgds
Prabhu

On 3/8/06, Rainer Dollinger <dollinger@webdynamite.com> wrote:
>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message