Elasticsearch innerhits difference between docvalue_fields and include and exclude

I have multiple nested fields in an index, while querying I need to find which documents match for which I was using inner_hits with include in source fields which was having a performance hit, but as I moved to use docvalue_fields its the query time is reduced.
how docvalue_fields is improving the performance?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.