Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - Multiple terms in query


Copy link to this message
-
Re: Multiple terms in query
Paul Libbrecht 2011-04-02, 06:06
Depending on the query type you use, you can give weight to particular fields.
In dismax, the queried fields can be given a weight.

paul
Le 2 avr. 2011 à 07:43, Prav Buz a écrit :

> Hi,
>
> When I search multiple terms in solr query , though I get all the results
> containing either of the terms , but the results which contain both terms
> are outranked by the others. For example:
>
> Panasonic Camera
>
> most of the top results are those which contain "Panasonic" ,  and they are
> of accessories rather than a camera. but when I search Panasonic Camera^16 I
> get what I want.
>
> What's the correct method of doing this? that is when multiple terms are
> searched , how to make sure , records contain all the terms shown first in
> solr?
>
>
> thanks & regards
>
> Prav.