Open nics opened 6 days ago
I use the _name field in boolean queries to identify which clause matched, but the corresponding matched_queries field is not included in opensearchapi.SearchHit.
_name
matched_queries
opensearchapi.SearchHit
Add a MatchedQueries []string field to SearchHit.
MatchedQueries []string
SearchHit
I'm using v4.0.0 of the Go client.
See https://opensearch.org/docs/latest/query-dsl/compound/bool/ for the _name feature.
Is your feature request related to a problem?
I use the
_name
field in boolean queries to identify which clause matched, but the correspondingmatched_queries
field is not included inopensearchapi.SearchHit
.What solution would you like?
Add a
MatchedQueries []string
field toSearchHit
.Do you have any additional context?
I'm using v4.0.0 of the Go client.
See https://opensearch.org/docs/latest/query-dsl/compound/bool/ for the
_name
feature.