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

Exact matches are separated by [...] in highlights #741

Closed
Soliine opened this issue Jan 27, 2021 · 1 comment
Closed

Exact matches are separated by [...] in highlights #741

Soliine opened this issue Jan 27, 2021 · 1 comment
Assignees

Comments

@Soliine
Copy link
Collaborator

Soliine commented Jan 27, 2021

Is your feature request related to a problem? Please describe.
It's misleading when you search for "bureau d'imposition" for instance and in the results' highlights, they are sometimes separated by [...] while they are separated only by a space in the original document.

Describe the solution you'd like
It'd be better not to see [...] when the searched terms are separated only by a space.

@annelhote
Copy link
Contributor

It seems it is an issue of ES. We can't use the fvh highlighter because our documents are not indexed with the term_vector type. We could increase the fragment size as a workaround but it won't solve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants