Hi @reza_setareh,
Which version of the client where you using before? By not_analyzed
are you referring to the old strong analyzed
and not_analyzed
behaviour as referenced in this old topic and blog post?
If so I think you're looking to make use of the keyword
type that replaced not_analyzed
. If you're using the automapping feature of the client it should infer the type to give text with a keyword subfield for String, or keyword for a couple of other types as per the documentation. Or alternatively you can map manually similar to the example in the documentation.
Do let me know if that is what you're not trying to do. Hope that helps!