I mean in the case of _source field that elasticsearc uses. But seems that is separate.
My usecase is I want to do querying+filtering on all fields of the document. In this case you have to:
1.store the field or document so you can get back the value (ex: when querying the document)
2.index the field for filtering
3.separately index the field for aggregation(doc_values)
1.store the field or document so you can get back the value (ex: when querying the document)
2.index the field for filtering
3.separately index the field for aggregation(doc_values)
While in rdbms you only need(1).