Hi,
Am using elasticsearch v0.90.12.
I have a function score query of the form:
function_score
- query: Q1
- functions: [{filter:F1, function:func1 }]
Both Q1 & F1 have their names set. This function_score when executed in
isolation returns 0 results when Q1 fails. But when this function_score is
run within a boolean query combined with other queries, F1 is executed for
all results though Q1 failed for the results. This can be seen from the matched_filters
in results. The scores are not affected though.
Please find the CURL recreation
here: https://gist.github.com/hmrizin/da8414d844a8a39fc832
Regards
Riyaz
--
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/cd3847c7-934f-4c6f-8156-57d4ff1a88c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.