fix valueField name

This commit is contained in:
kimchy 2010-08-02 16:32:52 +03:00
parent 76cfbe6a44
commit 32e26a6bd0
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class GeoDistanceFacetCollectorParser implements FacetCollectorParser {
unit = DistanceUnit.fromString(parser.text());
} else if (currentName.equals("distance_type") || currentName.equals("distanceType")) {
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();
} else if ("value_script".equals(currentName) || "valueScript".equals(currentName)) {
valueScript = parser.text();