You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Doddamani, Prakash" <pr...@corp.aol.com> on 2009/12/09 17:05:31 UTC
how to use boost factor
Hi,
While searching (querying) the solr, how can we achieved following
scenario.
Search priority should be in the following order:
1. Genre
2. nowplaying
3. Stationname
4. Keywords
Say I am searching for "rock" it should search in "genre" field first
and then nowplaying then stationname and then keyword fields, what
would be the query
Thanks in advance
Prakash
Re: how to use boost factor
Posted by Erick Erickson <er...@gmail.com>.
I don't quite understand what you mean by priority. Are you clear about
the difference between boosting and sorting? If you're sure you want to
boost, have you seen:
http://wiki.apache.org/solr/DisMaxRequestHandler#bq_.28Boost_Query.29
<http://wiki.apache.org/solr/DisMaxRequestHandler#bq_.28Boost_Query.29>Best
Erick
On Wed, Dec 9, 2009 at 11:05 AM, Doddamani, Prakash <
prakash.doddamani@corp.aol.com> wrote:
> Hi,
>
> While searching (querying) the solr, how can we achieved following
> scenario.
>
> Search priority should be in the following order:
>
> 1. Genre
> 2. nowplaying
> 3. Stationname
> 4. Keywords
>
> Say I am searching for "rock" it should search in "genre" field first
> and then nowplaying then stationname and then keyword fields, what
> would be the query
>
>
> Thanks in advance
>
> Prakash
>
>