You can use a boost higher for stapler to accomplished your requirement.

Marco Martínez Bautista
http://www.paradigmatecnologico.com
Avenida de Europa, 26. Ática 5. 3ª Planta
28224 Pozuelo de Alarcón
Tel.: 91 352 59 42


2010/8/13 Hasnain <hasn...@hotmail.com>

>
> Hi All,
>
> My question is related to search results, I want to customize my query so
> that for query "stapler hammer", I should get results for all items
> containing word "stapler" first and then results containing hammer, right
> now results are mixing up, I want them sorted, i.e. all results of stapler
> on top and hammer on bottom not mixed, I havent changed any configuration
> files...
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Search-Results-optimization-tp1129374p1129374.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to