Apache Solr open-source search software
SOLR-2202: Fix typo in typeName of trielong
Jan Høydahl8bcd1e077e1b
diff --git a/solr/core/src/java/org/apache/solr/schema/CurrencyField.java b/solr/core/src/java/org/apache/solr/schema/CurrencyField.javaindex f6231dd091c..034c5703578 100644--- a/solr/core/src/java/org/apache/solr/schema/CurrencyField.java+++ b/solr/core/src/java/org/apache/solr/schema/CurrencyField.java@@ -102,7 +102,7 @@ public class CurrencyField extends FieldType implements SchemaAware, ResourceLoa// Initialize field type for amountfieldTypeAmountRaw = new TrieLongField();- fieldTypeAmountRaw.setTypeName("amount_raw_type_tint");+ fieldTypeAmountRaw.setTypeName("amount_raw_type_tlong");Map<String,String> map = new HashMap<String,String>(1);map.put("precisionStep", precisionStepString);fieldTypeAmountRaw.init(schema, map);