mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
fix highlight score ordering for a field
This commit is contained in:
parent
a9bc775213
commit
741b8dd70b
@ -141,7 +141,7 @@ public class HighlighterParseElement implements SearchParseElement {
|
||||
field.fragmentOffset(parser.intValue());
|
||||
} else if ("highlight_filter".equals(fieldName) || "highlightFilter".equals(fieldName)) {
|
||||
field.highlightFilter(parser.booleanValue());
|
||||
} else if ("score".equals(fieldName)) {
|
||||
} else if ("order".equals(fieldName)) {
|
||||
field.scoreOrdered("score".equals(parser.text()));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user