Package ome.services.fulltext.bridges
Class ProjectWithImageNameBridge
- java.lang.Object
 - 
- ome.services.fulltext.BridgeHelper
 - 
- ome.services.fulltext.bridges.ProjectWithImageNameBridge
 
 
 
- 
- All Implemented Interfaces:
 org.hibernate.search.bridge.FieldBridge,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationEventPublisherAware
@Deprecated public class ProjectWithImageNameBridge extends BridgeHelper
Deprecated.Example customFieldBridgeimplementation which parses allImagenames from aProjectand inserts them into the index for thatProject.- Since:
 - 3.0-Beta3
 
 
- 
- 
Field Summary
- 
Fields inherited from class ome.services.fulltext.BridgeHelper
COMBINED, log, publisher 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ProjectWithImageNameBridge()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidset(java.lang.String name, java.lang.Object value, org.apache.lucene.document.Document document, org.hibernate.search.bridge.LuceneOptions _opts)Deprecated.If the "value" argument is aProject, thisbridgegathers all images and adds them to the index with a slightly reduced boost value.- 
Methods inherited from class ome.services.fulltext.BridgeHelper
add, addContents, addEnumIfNotNull, addIfNotNull, getProxiedObject, logger, parse, reindex, reindexAll, setApplicationEventPublisher 
 - 
 
 - 
 
- 
- 
Method Detail
- 
set
public void set(java.lang.String name, java.lang.Object value, org.apache.lucene.document.Document document, org.hibernate.search.bridge.LuceneOptions _opts)Deprecated.If the "value" argument is aProject, thisbridgegathers all images and adds them to the index with a slightly reduced boost value. The field name of the image name is "image_name" but the values are also added to theBridgeHelper.COMBINEDfield via theBridgeHelper.add(Document, String, String, LuceneOptions)method.- Specified by:
 setin interfaceorg.hibernate.search.bridge.FieldBridge- Specified by:
 setin classBridgeHelper
 
 - 
 
 -