pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.search
Class ViewFieldBridge

java.lang.Object
  extended by org.torweg.pulse.util.search.ViewFieldBridge
All Implemented Interfaces:
org.hibernate.search.bridge.FieldBridge

public class ViewFieldBridge
extends java.lang.Object
implements org.hibernate.search.bridge.FieldBridge

a FieldBridge to map Content for the site's full text search.

Version:
$Revision: 1792 $
Author:
Thomas Weber

Constructor Summary
ViewFieldBridge()
           
 
Method Summary
 void set(java.lang.String name, java.lang.Object value, org.apache.lucene.document.Document doc, org.hibernate.search.bridge.LuceneOptions options)
          maps a Content to the site's full text search index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewFieldBridge

public ViewFieldBridge()
Method Detail

set

public final void set(java.lang.String name,
                      java.lang.Object value,
                      org.apache.lucene.document.Document doc,
                      org.hibernate.search.bridge.LuceneOptions options)
maps a Content to the site's full text search index.

Specified by:
set in interface org.hibernate.search.bridge.FieldBridge
Parameters:
name - the name of the field
value - the value to be translated
doc - the document to add the field to
options - the store