I use uri searches and i found out that it took about 20 seconds or more if i use leading wildcard searches.
works very fast and
takes 10 seconds .
Is there a way from elasticsearch to prevent leading wildcards? something i can put into the elasticsearch.yml or some parameters i can add to make the searches faster (disable leading wildcards in uri searches).