When doing a Function Score Query, what's the difference between doing
{ function_score: { query { filtered { query: ...
and simply
{ function_score: { filter: ...
Thanks.
When doing a Function Score Query, what's the difference between doing
{ function_score: { query { filtered { query: ...
and simply
{ function_score: { filter: ...
Thanks.
Assuming that you put the same filter under the filtered query in the 1st example and as a filter in the 2nd example, both will behave the same.
behave the same? the query speed response time too?
Yes, response times too.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.