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.

Reply via email to