Save This Page
Home » hibernate-search-src-20081106 » org.hibernate » search » bridge » [javadoc | source]
org.hibernate.search.bridge
public interface: FieldBridge [javadoc | source]

All Known Implementing Classes:
    TwoWayFieldBridge, TwoWayString2FieldBridgeAdaptor, String2FieldBridgeAdaptor

Link between a java property and a Lucene Document Usually a Java property will be linked to a Document Field
Method from org.hibernate.search.bridge.FieldBridge Summary:
set
Method from org.hibernate.search.bridge.FieldBridge Detail:
 public  void set(String name,
    Object value,
    Document document,
    LuceneOptions luceneOptions)
    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