Hello,

How can I boost in query level the relevance of documents  based in content of 
any fields? Example, I have 5 documents with fields: name and city:

name | city
Jose | Campinas
Jose | São Paulo
Jose | Rio de Janeiro
Jose | Rio Branco
Jose | Ourinhos

In search by "Jose", I wish return on top the documents (Jose | São Paulo and 
Jose | Rio de Janeiro). I don´t want create a third field "important" to sort.
I don´t want create the boosting based on id with elevate.xml
Is it possible boosting in query level the documents with city "São Paulo" or 
"Rio de Janeiro"?
Thanks,



Reply via email to