public class BCDStrField extends BCDIntField
FieldType.DefaultAnalyzer
analyzer, args, falseProperties, log, POLY_FIELD_SEPARATOR, queryAnalyzer, trueProperties, typeName
BINARY, INDEXED, MULTIVALUED, OMIT_NORMS, OMIT_POSITIONS, OMIT_TF_POSITIONS, REQUIRED, SORT_MISSING_FIRST, SORT_MISSING_LAST, STORE_TERMOFFSETS, STORE_TERMPOSITIONS, STORE_TERMVECTORS, STORED, TOKENIZED
Constructor and Description |
---|
BCDStrField() |
Modifier and Type | Method and Description |
---|---|
String |
toObject(Fieldable f)
This only works for strings that represent an interger.
|
void |
write(XMLWriter xmlWriter,
String name,
Fieldable f)
Renders the specified field as XML
|
getSortField, getValueSource, indexedToReadable, toExternal, toInternal, write
init
createField, createField, createFields, getAnalyzer, getArg, getFieldIndex, getFieldQuery, getFieldStore, getFieldTermVec, getIndexOptions, getQueryAnalyzer, getRangeQuery, getStringSort, getTypeName, getValueSource, hasProperty, isMultiValued, isPolyField, isTokenized, multiValuedFieldCache, readableToIndexed, restrictProps, setAnalyzer, setQueryAnalyzer, storedToIndexed, storedToReadable, toString
public void write(XMLWriter xmlWriter, String name, Fieldable f) throws IOException
FieldType
write
in class BCDIntField
IOException
public String toObject(Fieldable f)
toObject
in class BCDIntField
FieldType.toInternal(java.lang.String)