Hi Erick.

When I set up the query, I will inform the cities that I wish the weight has 
increased. Is there any way I can do this?
How would I do for the contents of some fields increase the relevance (not 
increasing for all values ​​of the field)? Is there any function to do this?
How would I do?

-----Mensagem original-----
De: Erick Erickson [mailto:erickerick...@gmail.com] 
Enviada em: sexta-feira, 28 de setembro de 2012 15:51
Para: solr-user@lucene.apache.org
Assunto: Re: Boosting in query level the relevance based in content of any 
fields

How can Solr/Lucene distinguish between that which must be boosted and that 
which must not? There must be some rule here, what is it?

Until one understands the rule, there's not much one can suggest...

Best
Erick

On Fri, Sep 28, 2012 at 9:00 AM, Claudio Ranieri <claudio.rani...@estadao.com> 
wrote:
> 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,
>>
>>
>>
>>

Reply via email to