Hi all,
I am using query string query to evaluate a boolean expression.
Here is my query,
{
"query": {
"query_string" : {
"query" : "((A=User) AND((B=rsana) OR(C=rsana)OR(D=rsana)))",
"analyze_wildcard":true
}
}
}
The above query is giving undesired results, it is suppose to give fields with rsana substring in it. instead it gives me all records with any of these alphabets in it "r","s","a","n".
And if i use *rsana*, that is if i use wild cards, i get no results.
Does any one have idea about this.
Regards,
Mohan