use parsing field to check for order
This commit is contained in:
parent
d7a02fb28f
commit
d3ba8bd487
|
@ -114,7 +114,7 @@ public class TermsFacetProcessor extends AbstractComponent implements FacetProce
|
||||||
regex = parser.text();
|
regex = parser.text();
|
||||||
} else if ("regex_flags".equals(currentFieldName) || "regexFlags".equals(currentFieldName)) {
|
} else if ("regex_flags".equals(currentFieldName) || "regexFlags".equals(currentFieldName)) {
|
||||||
regexFlags = parser.text();
|
regexFlags = parser.text();
|
||||||
} else if ("order".equals(currentFieldName) || "comparator".equals(field)) {
|
} else if ("order".equals(currentFieldName) || "comparator".equals(currentFieldName)) {
|
||||||
comparatorType = TermsFacet.ComparatorType.fromString(parser.text());
|
comparatorType = TermsFacet.ComparatorType.fromString(parser.text());
|
||||||
} else if ("script".equals(currentFieldName)) {
|
} else if ("script".equals(currentFieldName)) {
|
||||||
script = parser.text();
|
script = parser.text();
|
||||||
|
|
Loading…
Reference in New Issue