elasticsearch - Practical usage of keyword analyzer -
what scenario when need use mapping of keyword-analyzer compared marking not_analyzed
doc values turned on field.
- from elasticsearch documentation, seems if field not analyzed , better turn doc_values on field.
- the elasticsearch documentation states [sic]
note, when using mapping definitions, might make more sense mark field not_analyzed
i bit confused why keyword analyzer ever used ?
according core committer, both equivalent.
that wouldn't case of keyword
tokenizer, though, can combined other filters (lowercase, etc) , participate in many different ways of tokenizing input.
Comments
Post a Comment