lux.index.field
Class TinyBinaryField
java.lang.Object
lux.index.field.FieldDefinition
lux.index.field.TinyBinaryField
- Direct Known Subclasses:
- TinyBinarySolrField
public class TinyBinaryField
- extends FieldDefinition
A field that stores XML documents in a binary form (TinyBinary) that is very close to the in-memory Saxon TinyTree format.
Reading and writing these documents avoids the cost of parsing and serialization, and they take up only
slightly more space than the serialized XML form.
UTF8
public static final Charset UTF8
TinyBinaryField
protected TinyBinaryField()
getInstance
public static TinyBinaryField getInstance()
makeTinyBinary
protected TinyBinary makeTinyBinary(XmlIndexer indexer)
getValues
public Iterable<?> getValues(XmlIndexer indexer)
- Description copied from class:
FieldDefinition
- The Solr XmlUpdateProcessor calls this. If it returns null, the caller should use the values
from getFieldValues() instead.
- Overrides:
getValues in class FieldDefinition
- Parameters:
indexer - the indexer that holds the field values
- Returns:
- the accumulated values of the field, as primitive objects (String or Integer). If
Copyright © 2013. All Rights Reserved.