lux.index.field
Class PathField

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

public class PathField
extends FieldDefinition

Indexes each distinct path as a sequence of name tokens


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

PathField

protected PathField()
Method Detail

getInstance

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