lux.index.field
Class ElementTextField

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

public class ElementTextField
extends FieldDefinition

Indexes the text in each element of a document


Nested Class Summary
 
Nested classes/interfaces inherited from class lux.index.field.FieldDefinition
FieldDefinition.Type
 
Constructor Summary
protected ElementTextField()
           
 
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 ElementTextField 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

ElementTextField

protected ElementTextField()
Method Detail

getInstance

public static ElementTextField 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.