lucene - Elasticsearch - Term Aggregation In Theory -


imagine random term aggregation on specific field:

"aggs":{ "top_terms": {   "terms": {     "field": "any.specific.field"     }   } } 

my question here is: how es aggregate terms?

if inverted & fielddate index looks this: es: inverted index & fielddata index , fact unique terms stored per document, not per field, how es aggregate terms per field? happening behind scenes aggregate them?

can shed light me/us? thanks in advance


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

qt - How to embed QML toolbar and menubar into QMainWindow -