org.apache.solr.schema
Class BCDStrField
java.lang.Object
org.apache.solr.schema.FieldType
org.apache.solr.schema.BCDIntField
org.apache.solr.schema.BCDStrField
public class BCDStrField
- extends BCDIntField
- Version:
- $Id: BCDStrField.java 555343 2007-07-11 17:46:25Z hossman $
Methods inherited from class org.apache.solr.schema.FieldType |
createField, getAnalyzer, getArg, getFieldIndex, getFieldStore, getFieldTermVec, getQueryAnalyzer, getRangeQuery, getStringSort, getTypeName, getValueSource, isMultiValued, isTokenized, multiValuedFieldCache, readableToIndexed, restrictProps, setAnalyzer, setQueryAnalyzer, storedToIndexed, storedToReadable, toString |
BCDStrField
public BCDStrField()
write
public void write(XMLWriter xmlWriter,
String name,
Fieldable f)
throws IOException
- Description copied from class:
FieldType
- Renders the specified field as XML
- Overrides:
write
in class BCDIntField
- Throws:
IOException
toObject
public String toObject(Fieldable f)
- This only works for strings that represent an interger. If the string
is not an integer, it will not survive the base10k conversion!
- Overrides:
toObject
in class BCDIntField
- See Also:
FieldType.toInternal(java.lang.String)
Copyright © 2011 Apache Software Foundation. All Rights Reserved.