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

Hotfix: multi token highlights #3275 #3278

Closed

Conversation

simonwoerpel
Copy link
Contributor

This fixes the issue discussed here: #3275

As discussed, the origin of this bug and why this one-liner fixes it are not fully investigated, nor are some side-effects.

First experiences in a running production environment are positive.

@monneyboi
Copy link
Contributor

monneyboi commented Aug 29, 2023

I propose removing the query_string_query function and removing the fields array from the highlight query, see #3280

Seems more clean to me compared to first creating the fields array and then removing it again.

@stchris
Copy link
Contributor

stchris commented Aug 30, 2023

I like the suggestion from #3280 a little bit better as well, as it makes it a bit more obvious what is going on. My suggestion is to merge that and see how it works in our staging environment.

@monneyboi
Copy link
Contributor

Fields array has been removed from the highlight queries now as per #3280

@monneyboi monneyboi closed this Aug 30, 2023
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

Successfully merging this pull request may close these issues.

3 participants