Hi,
I had implemented ES search query for all our use cases but when i came to
know that some of our use cases can be solved by filters I implemented that
but I dont see any gain (in response time) in filters. My search queries
are
1. Filter
{
"size" : 100,
"query" : {
"match_all" : { }
},
"filter" : {
"bool" : {
"must" : {
"term" : {
"color" : "red"
}
}
}
},
"version" : true
}
2. Query
{
"size" : 100,
"query" : {
"bool" : {
"must" : {
"match" : {
"color" : {
"query" : "red",
"type" : "boolean",
"operator" : "AND"
}
}
}
}
},
"version" : true
}
By default the term query should be cached but I dont see a performance
gain.
Do i need to change some parameter also ?
I am using ES 0.90.1 and with 16Gb of heap space given to ES.
Thanks,
Arjit
--
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/326a6640-d887-46b4-a8e7-ec15a1c9dc98%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.