elasticsearch - Practical usage of keyword analyzer -


what scenario when need use mapping of keyword-analyzer compared marking not_analyzed doc values turned on field.

  1. from elasticsearch documentation, seems if field not analyzed , better turn doc_values on field.
  2. 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

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -