lux.index.field
Class PathOccurrenceField

java.lang.Object
  extended by lux.index.field.FieldDefinition
      extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from class lux.index.field.FieldDefinition
FieldDefinition.Type
 
Constructor Summary
protected PathOccurrenceField()
           
 
Method Summary
static PathOccurrenceField getInstance()
           
 Iterable<?> getValues(XmlIndexer indexer)
          The Solr XmlUpdateProcessor calls this.
 
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

PathOccurrenceField

protected PathOccurrenceField()
Method Detail

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.