How to specify field in ES dont use any analyzer and dont use any tokenizers and no filters


(Rahul Sharma) #1

Hi,
We are trying to store a TAG, and I dont want to run any analyzer (not_analyzed), tokenizer or filters on it.
It should be searchable as it is.
Please let me know if there is a way to do that.

Thanks in advance.

Regards,
Rahul


(Sumit Arora) #2

Just add not_analyzed to the field

"sample_na" : {
"index" : "not_analyzed",
"type" : "string"
}


(Rahul Sharma) #3

Thanks I was leaning to experiment with it.


(system) #4