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

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -

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