Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MatchedQueries field to opensearchapi.SearchHit #573

Open
nics opened this issue Jun 27, 2024 · 3 comments
Open

Add MatchedQueries field to opensearchapi.SearchHit #573

nics opened this issue Jun 27, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@nics
Copy link

nics commented Jun 27, 2024

Is your feature request related to a problem?

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.

What solution would you like?

Add a MatchedQueries []string field to SearchHit.

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.

@nics nics added enhancement New feature or request untriaged labels Jun 27, 2024
@dblock
Copy link
Member

dblock commented Jul 15, 2024

[Catch All Triage - 1, 2, 3]

@dblock dblock removed the untriaged label Jul 15, 2024
@dblock
Copy link
Member

dblock commented Jul 15, 2024

Want to try to contribute this @nics ?

@nics
Copy link
Author

nics commented Jul 16, 2024

Hi @dblock, I'm traveling the next couple of weeks, but I'll take a go at it when I'm back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants