Inaccurate documentation for not_analyzed and full text queries

The documentation here https://www.elastic.co/guide/en/elasticsearch/guide/current/term-vs-full-text.html says

"If you query an exact value (not_analyzed) string field, they will treat the whole query string as a single term."

Not true, match_queries produce the following error message on not_analyzed fields

reason": "Cannot search on field [...] since it is not indexed."

This doc is outdated.
It concern Elasticsearch up to 2.X.
Look on the right of the page.

+1, retracted.

I'm not sure BTW. There is a difference between not analyzed and not indexed.
So I'd say that it depends on the options you used?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.