Analyze_wildcard and allow_leading_wildcard for URI search


(makovskij) #1

Hi there,

I don't understand how URI Search are mapped to query string. I read this two links:

https://www.elastic.co/guide/en/elasticsearch/reference/1.6/query-dsl-query-string-query.html
AND
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-uri-request.html

I want to try out the two parameters (analyze_wildcard and allow_leading_wildcard) mentioned in link 2.
I don't really know how to use them in the URI search and i think I don't really understand whats the point of this parameters.
If I disable the allow_leading_parameters and still use a * in my query, how will ES react?
If I use the analyze_wildcard to true, do it search for every term which is similar without typing * ?

hope you can help me


(system) #2