Hi Everyone
I am implementing custom analyzer using follwing example and adding that analyzer to the mapping filed. But that analyzer is not effecting to the mapping field.
EXAMPLE:
*first creating analyzer in settings and adding that anaylzer to the field in the mapping
POST sa
{
"settings":{
"analysis":{
"analyzer":{
"full_name":{
"filter":"lowercase",
"type":"custom",
"tokenizer":"standard"
}
}
}
},
"mappings": {
"check":{
"properties": {
"name":{
"type": "string",
"analyzer": "full_name"
}
}
}
}
}
*indexing the data
POST sa/check/1
{
"_id":1,
"name":"BALU67 Guyfhf"
}
Now in the above example when i use this GET /sa/_analyze?analyzer=full_name/text=YFSDD
i am getting lowercase letters given in the text attribute.That fine work with that,
BUT when that analyzer is not applying to the data of the field mapping....
i.e When i try like his
GET sa/check/_seach
I should get the data inside that added mapping field to be lowercase...But getting as it is
Is their any way like that?
As i am New to this concept any one please help me out
Thanks