I tried to migrate from Elasticsearch 2.4 to 5.4 and i experience a drop in percolator performance. Elasticsearch 2.4 percolator is 5-6 times faster than 5.3. For example:
I have 25000 peroclators with term level queries and 5000 of them contain a wildcard queries.
ES2.4: time of percolation 10 documents ~ 3 268 ms
ES5.4: time of percolation 10 documents ~ 18 304 ms
I think the problem is that the perculator cache was removed . The selecting of candidate percolator queries matches does not work well in my case. I can not refuse wildcard queries.
Any ideas/suggestions for improving the current performance?
Thanks!