ES doesn't take into account field level boost in prefix query over catch-all field?


(Eugene I.) #1

Greetings everyone,

I've faced with a following issue, and I'm not sure whether it's ES
peculiarity or something is wrong with my setup.

  1. Created ES mapping with two string fields, one of them is with
    customized boost.
  2. Performed term search over default catch-all field and observed expected
    result -- sample doc containing the search term in the field with
    customized boost has a higher score.
  3. Performed prefix query with customized rewrite over default catch-all
    field and got response which confuses me. ES ignores the field level boost
    in this case.

So, the question is - is it possible to get for prefix query the response
which honors field level boost factor, as term query does?

The setup: https://gist.github.com/ei82/776d42d6a59262529c54

Thanks,
Eugene,

--
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/8ac1f92a-857c-43e2-8f11-64bbedd6d357%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Maxim Vorobyov) #2

Hi All. I have the same issue and would highly appreciate answer.
Many Thanks! Maxim

--
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/31a85891-ab76-402a-83a0-bbf442defc00%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3