Thank you for your recommendation, I will try it.

Hiko

On Tuesday, February 10, 2015 at 3:31:46 PM UTC+7, David Pilato wrote:
>
> Yeah. But I’d recommend not using boost in mapping but at query time.
> More flexible.
>
> -- 
> *David Pilato* | *Technical Advocate* | *Elasticsearch.com 
> <http://Elasticsearch.com>*
> @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr 
> <https://twitter.com/elasticsearchfr> | @scrutmydocs 
> <https://twitter.com/scrutmydocs>
>
>
>  
> Le 10 févr. 2015 à 09:29, tao hiko <[email protected] <javascript:>> a 
> écrit :
>
> Hi David
>
> Thank you for your information, more question; Can I set "boost" or 
> priority on each fields in mapping? if I use "term query" instead of "term 
> filter".
>
> Hiko
>
>
> On Tuesday, February 10, 2015 at 3:19:26 PM UTC+7, David Pilato wrote:
>>
>> A filter does not participate in scoring.
>> But using 
>> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html
>>  you 
>> can assign a score to a filter.
>>
>> My 2 cents
>>
>> -- 
>> *David Pilato* | *Technical Advocate* | *Elasticsearch.com 
>> <http://elasticsearch.com/>*
>> @dadoonet <https://twitter.com/dadoonet> | @elasticsearchfr 
>> <https://twitter.com/elasticsearchfr> | @scrutmydocs 
>> <https://twitter.com/scrutmydocs>
>>
>>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/656892e4-c945-4d14-b81a-90087a31147c%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/elasticsearch/656892e4-c945-4d14-b81a-90087a31147c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/5b43defa-c65b-4efb-a7af-eee8f4fb32f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to