fix valueField name
This commit is contained in:
parent
76cfbe6a44
commit
32e26a6bd0
|
@ -129,7 +129,7 @@ public class GeoDistanceFacetCollectorParser implements FacetCollectorParser {
|
||||||
unit = DistanceUnit.fromString(parser.text());
|
unit = DistanceUnit.fromString(parser.text());
|
||||||
} else if (currentName.equals("distance_type") || currentName.equals("distanceType")) {
|
} else if (currentName.equals("distance_type") || currentName.equals("distanceType")) {
|
||||||
geoDistance = GeoDistance.fromString(parser.text());
|
geoDistance = GeoDistance.fromString(parser.text());
|
||||||
} else if ("value_field".equals(currentName) || "valueName".equals(currentName)) {
|
} else if ("value_field".equals(currentName) || "valueField".equals(currentName)) {
|
||||||
valueFieldName = parser.text();
|
valueFieldName = parser.text();
|
||||||
} else if ("value_script".equals(currentName) || "valueScript".equals(currentName)) {
|
} else if ("value_script".equals(currentName) || "valueScript".equals(currentName)) {
|
||||||
valueScript = parser.text();
|
valueScript = parser.text();
|
||||||
|
|
Loading…
Reference in New Issue