Camilo, 

I didn't look in detail at your query, but you should be able to see a 
performance improvement on a larger index (i.e. millions of docs). If you 
only have a couple hundred/thousand docs, you may or may not see a 
difference (depending on your data and queries of course). Also the 
performance improvement will come after the filter is cached and you run 
the queries again, i.e., not when you execute your filtered query for the 
first time and ES was building the initial cache for your filter condition.

-- 
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/a0aa420e-adef-4f52-a3cb-644570c481e8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to