lux.index.field
Class PathOccurrenceField
java.lang.Object
lux.index.field.FieldDefinition
lux.index.field.PathOccurrenceField
public class PathOccurrenceField
- extends FieldDefinition
Indexes each occurrence of each path as a separate term
TODO: also store freqs (but not positions), so as to enable path-cardinality queries
PathOccurrenceField
protected PathOccurrenceField()
getInstance
public static PathOccurrenceField getInstance()
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.