After read the document of the
es,There are some confusion about it.
doc_values built at a document index time on not
text field,save data in disk.
fielddata built at query time,save data in memory.If a field cached,when the new docs has the field add to the
fielddata are both a
cache,are used mainly when sorting on or computing aggregations on a field?
query cache,Only save the query result,only the same
dsl can use it?
Es has any other cache?