I am indexing documents called "Posts" and "Tags". I have tags such as C++,
C, C# and so on. When I want to see if a tag name already exists, I use a
text query in the field name, but then it ignores the special characters
and I get more than one tag, and I wanted just the one with exact name.
I found this answer to the problem:
But I don't know very much about analyzers. Do I need to index the
documents with the "not_analyzed" field, or can I keep indexing them with
the default analyzer and use the "not_analyzed" property only when I want
to retrieve the tags by name?