KevinT
December 3, 2017, 3:24am
1
Currently we are using wildcard query start and end with * to implement the "contains with" function, however it seems the performance is really bad, and we find that ES have documented this on https://www.elastic.co/guide/en/elasticsearch/reference/5.2/query-dsl-wildcard-query.html
So I'm wondering whether there is a better way to replace the wildcard query?
Ivan
(Ivan Brusic)
December 3, 2017, 5:57am
2
Try using n-grams instead of wildcards:
https://www.elastic.co/guide/en/elasticsearch/guide/current/_ngrams_for_partial_matching.html
N-grams required increased storage and could suffer from precision issue if
not tuned.
system
(system)
Closed
December 31, 2017, 5:58am
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.