-
Notifications
You must be signed in to change notification settings - Fork 1
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
Elasticsearch provider: only highlight text fields #189
Conversation
🦋 Changeset detectedLatest commit: 77fce36 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
6841b8f
to
2f4e503
Compare
Coverage after merging feature/highlight-text-fields into main will be
Coverage Report
|
I'm merging this PR as-is because it's a fix needed in the main product. I'll address any feedback in a follow-up. |
Remove
subFields
configuration from the schema. Instead only sendtext
fields for highlighting. This both simplifies the API and reduces payload to elastic, as well as fixing an issue where top-levelkeyword
fields were being highlighted when they should not be.Also improve performance (from ~70ms to ~10ms on a page size of 100 with large arrays each) when handling elastic responses.