Hi,
I am unable to search few key words though i set language analyzer.
Example : mountains. It is not returning mountain.
Let me know if i miss some thing here ?
{
"settings": {
"analysis" : {
"analyzer" : {
"my_analyzer" : {
"tokenizer" : "standard",
"filter" : ["standard", "lowercase", "my_stemmer"]
}
},
"filter" : {
"my_stemmer" : {
"type" : "stemmer",
"name" : "english"
}
}
}
}
}
Suggest me how to implement this ?
I queried back with below request.
{
"query":{
"bool":{
"must":[
{
"query_string":{
"default_field":"_all",
"query":"mountains*",
"analyzer":"my_analyzer"
}
}
]
}
}
}