With dismax / edixmax I can boost a field, but not boosting based on content of field (in my example, São Paulo and Rio de Janeiro must have boost, but Campinas, Rio Branco and Ourinhos not). Is it possible?
-----Mensagem original----- De: Miguel Ángel Martín [mailto:miguelangel.mar...@brainsins.com] Enviada em: sexta-feira, 28 de setembro de 2012 09:53 Para: solr-user@lucene.apache.org Assunto: Re: Boosting in query level the relevance based in content of any fields Hi c. Recently, i was testing that issue, i use boost query in solr 3.6.1 with edixmax and works fine for me Regards El 28/09/2012 14:44, "Claudio Ranieri" <claudio.rani...@estadao.com> escribió: > 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, > > > >