Match_all filter v/s empty filter


(Subhajit Ghosh) #1

{
"query": {
"filtered": {
"filter": {},
"query": {
"match_all": {}
}
}
}
}

and

{
"query": {
"filtered": {
"filter": {
"match_all": {}
},
"query": {
"match_all": {}
}
}
}
}

seems to return the same results. Does anyone know if there is a
performance impact on choosing one over the other?

--
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/65aa8778-2ab3-4f61-8dad-00f239ce137e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2