opensearch-project/opensearch-go

[FEATURE] Add an Explanation field containing the document explain details to the SearchHit struct

zr-bennettm opened this issue · 0 comments

Is your feature request related to a problem?

Calling the Search function here with Explain set to true in Params in the SearchReq does not add an explanation payload to each document.

What solution would you like?

An Explanation field containing the document explain details should be added to the `SearchHit struct.

What alternatives have you considered?

Calling the document Explain function for each document. However, when I have hundreds of documents that becomes a hassle to do.