Full text search with same value

Hi everyone, i want to search a value but it has many properties store same value in the document, example:
"_source" : {
"name" : "Test",
"role" : "Member"
"partner-role" : " Member"
}

My full text search code is like this :
{
"query": {
"simple_query_string" : {
"query" : "Member",
"fields": ["_all"],
"analyzer" : "synonyms"
}
}
}

But with my result, i get nothing, anyone know how to solve it?

Hey,

it is pretty much impossible to help, if you do not a provide a full example, that includes index and document creation along side with mapping and analyzer configuration, so that other folks have a slight chance of reproducing your issue.

--Alex

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