I have solved a similar task of taking payload into account for fuzzy queries
12 февраля 2015 г. 2:58:10 GMT+06:00, Sheng пишет:
>fellas,
>
>I am wondering if it is possible to wrap payload query with
>customscorequery, so that one can tweak the search score with both
>payload
>similarity and a c
alized for a particular need.
Thanks in advance,
Alexey Morozov
26.01.2015 14:57, Michael McCandless пишет:
> Well you could have ordinary term queries, and then a SHOULD SpanFirstQuery
> clause with a boost, to give higher scores to those docs that also had the
> term(s) close to the star