How is the Prefix filter compared to Term filter performance-wise?
with prefix filter of "o" only need to check the first letter, whereas
using term filter need to match "o1382334" eight letters. Assume they match
equal number of documents, it seems that prefix filter is more
Would someone having an understanding of the underlying algorithm of how
term filter works comment on this?
A related problem is: is it good for performance to use very long string as
term filter, like a md5 hash instead of a simple integer ID?
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@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cc2f2637-42fd-49b3-9ef9-2560f87a9cc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.