[Feature Request] Retrieve value from DocValues in a flat_object filed #16742
Labels
enhancement
Enhancement or improvement to existing feature or request
Indexing
Indexing, Bulk Indexing and anything related to indexing
untriaged
Is your feature request related to a problem? Please describe
It's is known that we can get value from DocValues. When the document has a high number of fields, and we just want to retrieve one/two field, DocValues performs better than stored fields.
https://sease.io/2020/03/docvalues-vs-stored-fields-apache-solr-features-and-performance-smackdown.html
But DocValues doesn't work in flat_object filed.
Example:
issue.number is not in the result.
Describe the solution you'd like
As we have store DocValues for flat_object filed, we should retrieve value from DocValues in flat_object filed when necessary. I'm pleasure to implement it.
Related component
Storage:Performance
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: