lux.index.field
Class DocumentField

java.lang.Object
  extended by lux.index.field.FieldDefinition
      extended by lux.index.field.DocumentField

public class DocumentField
extends FieldDefinition

A stored field that is used to store the entire XML document.


Nested Class Summary
 
Nested classes/interfaces inherited from class lux.index.field.FieldDefinition
FieldDefinition.Type
 
Constructor Summary
protected DocumentField()
           
 
Method Summary
static DocumentField getInstance()
           
 Iterable<?> getValues(XmlIndexer indexer)
          This will be a byte[] value if the document is a binary document, or if it is an XML document indexed using TinyBinary.
 
Methods inherited from class lux.index.field.FieldDefinition
getAnalyzer, getDefaultName, getFieldValues, getSolrFieldProperties, getType, isRenameable, isSingleValued, isStored, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentField

protected DocumentField()
Method Detail

getInstance

public static DocumentField getInstance()

getValues

public Iterable<?> getValues(XmlIndexer indexer)
This will be a byte[] value if the document is a binary document, or if it is an XML document indexed using TinyBinary. Otherwise it will be a String value.

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.