org.skife.lucene.graph
Interface ValueMapper

All Known Implementing Classes:
SimpleValueMapper

public interface ValueMapper

Used to convert an object into a String. toSting() is likely not always appropriate or meaningful for text searching


Method Summary
 java.lang.String build(java.lang.Object entity)
          Receives instance being indexed, should return String to be analyzed and storef as value for the field
 

Method Detail

build

public java.lang.String build(java.lang.Object entity)
Receives instance being indexed, should return String to be analyzed and storef as value for the field

Parameters:
entity - may be null
Returns:


Copyright © 2004 Brian McCallister. All Rights Reserved.