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

multiple snippets from various parts of the document #1295

Open
liangdy678 opened this issue Apr 14, 2024 · 0 comments
Open

multiple snippets from various parts of the document #1295

liangdy678 opened this issue Apr 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@liangdy678
Copy link

liangdy678 commented Apr 14, 2024

Hey team,

Use case:
In a long attribute there are 10 occurrences of "keyword" and I'd like to display all 10 snippets. Right now meilisearch returns just one snippet (the first matched one) for each attribute when cropping.

It is possible to implement this on the client side (by splitting the long document into paragraphs/sentences) but it would be useful to have meili support this functionality via a flag(like num_of_fragment on elasticsearch) .

thanks

@curquiza curquiza added the enhancement New feature or request label May 15, 2024
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