lux.index.field
Class ElementTextField
java.lang.Object
lux.index.field.FieldDefinition
lux.index.field.ElementTextField
public class ElementTextField
- extends FieldDefinition
Indexes the text in each element of a document
ElementTextField
protected ElementTextField()
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.