In elastic search I have a field that is analyzed and I am also storing the original value. I want to search the field with the stored value not the analyzed value.
Is there any way to do it?
note: I cannot make the field not_analyzed
, because I am searching the analyzed values also.
Take a look at the multi fields type, which will allow to two store the field both
analyzed
for full text search andnot_analyzed
for exact matches.