fix highlight score ordering for a field

This commit is contained in:
Nicolas Lalevée 2011-08-18 18:14:57 +02:00 committed by Shay Banon
parent a9bc775213
commit 741b8dd70b
1 changed files with 1 additions and 1 deletions

View File

@ -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()));
}
}