Here is part of something I wrote on another thread just 20 minutes ago: Index-time boosts are encoded inside the field norms. You should see a difference inside each field norm. If you have omitted norms, then you will not have any boosts on that field. The field norm is also lossly since it uses only 1-byte. Some of the many reasons to switch from document time boosts.
There is no reason to use both document boosts and custom scores. If you are already using a score function, just apply the boost at that level. Either way, you will not see the boost value directly. Ivan On Fri, Jan 31, 2014 at 8:13 AM, Mukul Gupta <mukulnit...@gmail.com> wrote: > Ivan, I tried using different field for script and boost. script seems to > be working fine but boost is not working since I'm not able to see any > factor from _boost in explain api. Can you please tell me how can I make > use of boost ? > > > On Fri, Jan 31, 2014 at 5:53 AM, Ivan Brusic <i...@brusic.com> wrote: > >> BTW, if you do not want to upgrade, you can also simply maintain two >> fields. One to use as a document boost (the _boost) and another to use for >> scripting/sorting/faceting. >> >> -- >> Ivan >> >> >> On Thu, Jan 30, 2014 at 4:00 PM, Ivan Brusic <i...@brusic.com> wrote: >> >>> I fixed this bug a while ago and it should be fixed in versions 0.90.6 >>> and higher. >>> >>> https://github.com/elasticsearch/elasticsearch/issues/3752 >>> https://github.com/elasticsearch/elasticsearch/pull/2913 >>> >>> Ivan >>> >>> >>> On Thu, Jan 30, 2014 at 11:51 AM, Binh Ly <b...@hibalo.com> wrote: >>> >>>> Coder, I've verified that this is a bug. However, the "_boost" field >>>> will be deprecated in 1.0 in favor of the function_score query ( >>>> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#_using_function_score). >>>> >>>> >>>> For now, what you can do to fix this is to remove the "_boost" part >>>> from your mapping and reindex your data and you should be able to access >>>> the "po" field after that. >>>> >>>> Remove this part from your mapping: >>>> >>>> "_boost" : { >>>> "name" : "po", >>>> "null_value" : 4.0 >>>> }, >>>> >>>> -- >>>> 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+unsubscr...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/elasticsearch/a1894a05-4195-44eb-aa62-80f173a58a99%40googlegroups.com >>>> . >>>> >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >> -- >> 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+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDY1nxQB_cYu%2B7Ph8Osai3PMNTUyKQuW8zL2z9OYxYAOQ%40mail.gmail.com >> . >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAAVTvp6bcp5Zy9a5z8GFz1r_-9raub5NDsHAE%2BacEegaOrW%2BoQ%40mail.gmail.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQD3vOZ-skoK6k02mrCE%3Df-T8yyz3d1pRQ%2Bzwi2OV3SSrg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.