Hi,
We are currently benchmarking our ES setup so I've got some new questions:
1. We found out that, for the same query (filter actually), when put like
this:
{
"filter": {...},
"fields": [...]
}
is consistently slower than this form:
{
"query": {
"constant_score": {
"filter": {...},
...
}
}
}.
All filter and fields part are identical, but the performance is different,
especially when caches are warm, filters wrapped in a constant_score are
nearly 10x faster than when they are put directly.
So what happens behind this? How ElasticSearch interpret filters that are
put directly (not wrapped in any outer structure)?
Thanks in advance.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/ad91095f-7e7b-4def-8570-73dbccaa7cb2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.