Slide 8
Slide 8 text
Doc Value Caveats
• Analyzed strings do not currently support doc_values, which means that
you must avoid using such fields for sorting, aggregating, and scripting
• Analyzed strings are generally tokenized into multiple terms, which means
that there is an array of values
• With few exceptions (e.g., significant terms), aggregating against analyzed
strings is not doing what you want
• Unless you want the individual tokens, scripting is largely not useful
• Big improvement coming in ES 2.3 (“keyword” field)
8