-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Elasticsearch provider: only highlight text fields
- Loading branch information
Alejandro Hernandez
committed
Jan 29, 2024
1 parent
d26122b
commit 2f4e503
Showing
9 changed files
with
182 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'contexture-elasticsearch': minor | ||
--- | ||
|
||
Remove `subFields` configuration in the schema. Instead only send fields of type | ||
`text` for highlighting. This both simplifies the API and reduces payload to | ||
elastic, as well as fixing an issue where non-text top-level fields such as | ||
`keyword` type fields were being highlighted when they should not be. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.