org.hibernate.search.bridge
Interface TikaMetadataProcessor
public interface TikaMetadataProcessor
- Author:
- Hardy Ferentschik
|
Method Summary |
org.apache.tika.metadata.Metadata |
prepareMetadata()
This method is called by the TikaBridge prior to processing the data |
void |
set(String name,
Object value,
org.apache.lucene.document.Document document,
LuceneOptions luceneOptions,
org.apache.tika.metadata.Metadata metadata)
This method called by the TikaBridge after processing the data. |
prepareMetadata
org.apache.tika.metadata.Metadata prepareMetadata()
- This method is called by the
TikaBridge prior to processing the data
- Returns:
- Tika metadata used for data processing. Additional metadata can be set here.
- See Also:
- Tika API
set
void set(String name,
Object value,
org.apache.lucene.document.Document document,
LuceneOptions luceneOptions,
org.apache.tika.metadata.Metadata metadata)
- This method called by the
TikaBridge after processing the data.
It can be used to add extracted metadata to the document.
- Parameters:
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 process
Copyright © 2006-2013 Hibernate. All Rights Reserved.