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 matched-elements-only support for index fields #30827

Open
julienba opened this issue Apr 5, 2024 · 0 comments
Open

Add matched-elements-only support for index fields #30827

julienba opened this issue Apr 5, 2024 · 0 comments
Assignees
Milestone

Comments

@julienba
Copy link

julienba commented Apr 5, 2024

Is your feature request related to a problem? Please describe.

The context is that I'm trying to support a subset of regex for really large text. For that, I'm using an ngram index and I'm filtering the result in a post-processing step. Since my texts are really long, I would like to get the words that match the ngram instead of the resolved field.

Describe the solution you'd like

A search for abc would return all the words of the document containing abc.

Describe alternatives you've considered
I try to use the matched-elements-only summary but this is only working for attributes, which is not possible in my use case due to the amount of data.

I try to use the dynamic summaries but it does not guarantee that all the words matching the ngram are present.

Additional context
https://vespatalk.slack.com/archives/C01QNBPPNT1/p1711622157125569

@frodelu frodelu added this to the later milestone Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants