public class BCDStrField extends BCDIntField
FieldType.DefaultAnalyzer
analyzer, args, falseProperties, log, POLY_FIELD_SEPARATOR, properties, queryAnalyzer, trueProperties, typeName
BINARY, INDEXED, MULTIVALUED, OMIT_NORMS, OMIT_POSITIONS, OMIT_TF_POSITIONS, propertyMap, propertyNames, 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 |
---|---|
java.lang.String |
toObject(org.apache.lucene.document.Fieldable f)
This only works for strings that represent an interger.
|
void |
write(XMLWriter xmlWriter,
java.lang.String name,
org.apache.lucene.document.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, setArgs, setQueryAnalyzer, setTypeName, storedToIndexed, storedToReadable, toString
getPropertyName, off, on, parseProperties, propertiesToString, propertyNameToInt
public void write(XMLWriter xmlWriter, java.lang.String name, org.apache.lucene.document.Fieldable f) throws java.io.IOException
FieldType
write
in class BCDIntField
java.io.IOException
public java.lang.String toObject(org.apache.lucene.document.Fieldable f)
toObject
in class BCDIntField
FieldType.toInternal(java.lang.String)