Query_string with punctuation and wildcard does not work


(Hanan) #1

Hi there,

I have a custom analyzer on field "authlast" that replaces punctuation with space. so when search for name "saint-" i am able to get results, but when search for "saint-*" i get no results? any idea?
how query_string analyze the string before submit for the search?

"query":
{
{
"query_string":{
"query":"saint-*",
"fields":[
"authlast"
],
"default_operator":"AND"
}
}
}


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.