Function score query & _all field?


(Sergey Pilypenko) #1

Hi!

I notised that starting from 1.0.0rc1 _boost option is deprecated. From doc
I can't imagine how to use suggested solution (function score query) with
_all field which was taking in acount specific boosts from specific fields.
Could somebody provide some small example for this case?

Thank you in advance,
Sergii

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f2be7fb7-2129-4b68-8e13-b1584112a60b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Cédric Hourcade) #2

Hello,

I think only the _boost parameter is deprecated. You can still set a
boost per field in your mapping.

Cédric Hourcade
ced@wal.fr

On Wed, Jun 25, 2014 at 2:13 AM, Sergey Pilypenko
s.pilypenko@nimble.com wrote:

Hi!

I notised that starting from 1.0.0rc1 _boost option is deprecated. From doc
I can't imagine how to use suggested solution (function score query) with
_all field which was taking in acount specific boosts from specific fields.
Could somebody provide some small example for this case?

Thank you in advance,
Sergii

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/f2be7fb7-2129-4b68-8e13-b1584112a60b%40googlegroups.com.
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAJQxjPMeG2eqMxjimKAo7M2%2BCcw6wEVw3xTWGj1CUSZuJp%3DgDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3