lux.index.field
Class AttributeTextField

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

public class AttributeTextField
extends FieldDefinition

Indexes the text in each attribute of a document


Nested Class Summary
 
Nested classes/interfaces inherited from class lux.index.field.FieldDefinition
FieldDefinition.Type
 
Constructor Summary
protected AttributeTextField()
           
 
Method Summary
 Iterable<org.apache.lucene.index.IndexableField> getFieldValues(XmlIndexer indexer)
          Wraps the values as Field, which includes the values and the Lucene indexing options.
static AttributeTextField getInstance()
           
 
Methods inherited from class lux.index.field.FieldDefinition
getAnalyzer, getDefaultName, getSolrFieldProperties, getType, getValues, isRenameable, isSingleValued, isStored, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeTextField

protected AttributeTextField()
Method Detail

getInstance

public static AttributeTextField getInstance()

getFieldValues

public Iterable<org.apache.lucene.index.IndexableField> getFieldValues(XmlIndexer indexer)
Description copied from class: FieldDefinition
Wraps the values as Field, which includes the values and the Lucene indexing options. Subclasses must implement getValues() or override this method

Overrides:
getFieldValues in class FieldDefinition
Parameters:
indexer - the indexer that holds the field values
Returns:
the accumulated values of the field, as IndexableFields


Copyright © 2013. All Rights Reserved.