org.hibernate.search.bridge
public interface TikaMetadataProcessor
| Modifier and Type | Method and Description |
|---|---|
Metadata |
prepareMetadata()
This method is called by the
TikaBridge prior to processing the data |
void |
set(String name,
Object value,
Document document,
LuceneOptions luceneOptions,
Metadata metadata)
This method called by the
TikaBridge after processing the data. |
Metadata prepareMetadata()
TikaBridge prior to processing the datavoid set(String name, Object value, Document document, LuceneOptions luceneOptions, Metadata metadata)
TikaBridge after processing the data.
It can be used to add extracted metadata to the document.name - The field name to add to the Lucene documentvalue - The value to indexdocument - The Lucene document into which we want to index the value.luceneOptions - Contains the parameters used for adding value to
the Lucene document.metadata - the metadata discovered by the Tika parsing processCopyright © 2006-2015 Red Hat, Inc. All Rights Reserved