public class BinaryField extends FieldType
FieldType.DefaultAnalyzeranalyzer, args, falseProperties, log, POLY_FIELD_SEPARATOR, queryAnalyzer, trueProperties, typeNameBINARY, 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 |
|---|
BinaryField() |
| Modifier and Type | Method and Description |
|---|---|
Field |
createField(SchemaField field,
Object val,
float boost) |
SortField |
getSortField(SchemaField field,
boolean top)
Returns the SortField instance that should be used to sort fields
of this type.
|
String |
toExternal(Fieldable f)
Convert the stored-field format to an external (string, human readable)
value
|
ByteBuffer |
toObject(Fieldable f)
Convert the stored-field format to an external object.
|
void |
write(TextResponseWriter writer,
String name,
Fieldable f)
calls back to TextResponseWriter to write the field value
|
void |
write(XMLWriter xmlWriter,
String name,
Fieldable f)
Renders the specified field as XML
|
createField, createField, createFields, getAnalyzer, getArg, getFieldIndex, getFieldQuery, getFieldStore, getFieldTermVec, getIndexOptions, getQueryAnalyzer, getRangeQuery, getStringSort, getTypeName, getValueSource, getValueSource, hasProperty, indexedToReadable, init, isMultiValued, isPolyField, isTokenized, multiValuedFieldCache, readableToIndexed, restrictProps, setAnalyzer, setQueryAnalyzer, storedToIndexed, storedToReadable, toInternal, toStringpublic void write(XMLWriter xmlWriter, String name, Fieldable f) throws IOException
FieldTypewrite in class FieldTypeIOExceptionpublic void write(TextResponseWriter writer, String name, Fieldable f) throws IOException
FieldTypewrite in class FieldTypeIOExceptionpublic SortField getSortField(SchemaField field, boolean top)
FieldTypegetSortField in class FieldTypeSchemaField.checkSortability()public String toExternal(Fieldable f)
FieldTypetoExternal in class FieldTypeFieldType.toInternal(java.lang.String)public ByteBuffer toObject(Fieldable f)
FieldTypetoObject in class FieldTypeFieldType.toInternal(java.lang.String)public Field createField(SchemaField field, Object val, float boost)