Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Highlight: Use analyzer set on the field
Make highlighter use analyzer set on the field. Highlight with PlainHighlighter doesn't work on a field with an analyzer specified when a document has document level analyzer specified by _analyzer. With this fix, it first look for analyzer set on the field. If not found, try _analyzer's path. If not found or _analyzer's path is null, try analyzer set on type level. Closes #8757
- Loading branch information
Showing
2 changed files
with
46 additions
and
7 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
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