Skip to content

Documentation wrong: still describes index=analyzed/not_analyzed for type string #30122

@OlivierPetri

Description

@OlivierPetri

Elasticsearch version: 6.2

Plugins installed: []

JVM version (java -version): 8

OS version (uname -a if on a Unix-like system): Windows Server 2016 (or whatever you like)

Description of the problem including expected versus actual behavior:

Documentation still explains to model type "string" with a property "index" set to "analyzed", "not_analyzed" or "no", whereas it appears that neither is valid anymore since version 5.0

From what I read in the wild wild web it should be type=text (for analyzed) or type=keyword (for not_analyzed), and i guess "no" has become index=false.

Thus the documentation is currently plain wrong, and pushes the interested user into the abyss of google.

Steps to reproduce:

Wrong explanation can be found at least here: https://www.elastic.co/guide/en/elasticsearch/guide/current/mapping-intro.html

Other places are of course possible.

Provide logs (if relevant):

Metadata

Metadata

Assignees

Labels

:Search Relevance/AnalysisHow text is split into tokens>docsGeneral docs changesTeam:Search RelevanceMeta label for the Search Relevance team in Elasticsearch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions