org.hibernate.search.bridge
Interface FieldBridge

All Known Subinterfaces:
TwoWayFieldBridge
All Known Implementing Classes:
String2FieldBridgeAdaptor, TwoWayString2FieldBridgeAdaptor

public interface FieldBridge

Link between a java property and a Lucene Document Usually a Java property will be linked to a Document Field

Author:
Emmanuel Bernard

Method Summary
 void set(String name, Object value, org.apache.lucene.document.Document document, org.apache.lucene.document.Field.Store store, org.apache.lucene.document.Field.Index index, Float boost)
          Manipulate the document to index the given value.
 

Method Detail

set

void set(String name,
         Object value,
         org.apache.lucene.document.Document document,
         org.apache.lucene.document.Field.Store store,
         org.apache.lucene.document.Field.Index index,
         Float boost)
Manipulate the document to index the given value. A common implementation is to add a Field name to the given document following the parameters (store, index, boost) if the value is not null