org.hibernate.search.bridge
Interface TikaParseContextProvider


public interface TikaParseContextProvider

Author:
Hardy Ferentschik

Method Summary
 org.apache.tika.parser.ParseContext getParseContext(String name, Object value)
          This method is called by the Tika bridge prior to parsing the data.
 

Method Detail

getParseContext

org.apache.tika.parser.ParseContext getParseContext(String name,
                                                    Object value)
This method is called by the Tika bridge prior to parsing the data.

It allows to create a custom ParseContext

Parameters:
name - the field name of the property which is processed by the Tika bridge
value - the value to be indexed
Returns:
A ParseContext instance used by the Tika bridge to parse the data
See Also:
Tika API


Copyright © 2006-2013 Hibernate. All Rights Reserved.