@Deprecated public class ProjectWithImageNameBridge extends BridgeHelper
FieldBridge
implementation which parses all
Image
names from a Project
and inserts them into the index
for that Project
.COMBINED, log, publisher
Constructor and Description |
---|
ProjectWithImageNameBridge()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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 a
Project , this
bridge gathers all images and adds them to the index
with a slightly reduced boost value. |
add, addContents, getProxiedObject, logger, parse, reindex, reindexAll, setApplicationEventPublisher
public void set(java.lang.String name, java.lang.Object value, org.apache.lucene.document.Document document, org.hibernate.search.bridge.LuceneOptions _opts)
Project
, this
bridge
gathers 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 the
BridgeHelper.COMBINED
field via the
BridgeHelper.add(Document, String, String, LuceneOptions)
method.set
in interface org.hibernate.search.bridge.FieldBridge
set
in class BridgeHelper
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.