> 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?

Jan's trick using Function Queries (map and query)

http://search-lucene.com/m/nK6t9j1fuc2/

http://wiki.apache.org/solr/FunctionQuery

Reply via email to