Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
OlivierPetri opened this issue Apr 25, 2018 · 2 comments
Assignees
Labels
>docs General docs changes :Search Relevance/Analysis How text is split into tokens Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch

Comments

@OlivierPetri
Copy link

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):

@romseygeek romseygeek added the >docs General docs changes label Apr 25, 2018
@colings86 colings86 added the :Search Relevance/Analysis How text is split into tokens label Apr 25, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

jpountz added a commit that referenced this issue Apr 25, 2018
jpountz added a commit that referenced this issue Apr 25, 2018
jpountz added a commit that referenced this issue Apr 25, 2018
@romseygeek
Copy link
Contributor

This was fixed in the 6.4 docs. The original issue refers to the Elasticsearch Definitive Guide, which has not been updated past version 2.x

@javanna javanna added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs General docs changes :Search Relevance/Analysis How text is split into tokens Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch
Projects
None yet
Development

No branches or pull requests

6 participants