org.apache.solr.handler.extraction
Class ExtractingRequestHandler
java.lang.Object
org.apache.solr.handler.RequestHandlerBase
org.apache.solr.handler.ContentStreamHandlerBase
org.apache.solr.handler.extraction.ExtractingRequestHandler
- All Implemented Interfaces:
- SolrInfoMBean, SolrRequestHandler, SolrCoreAware
public class ExtractingRequestHandler
- extends ContentStreamHandlerBase
- implements SolrCoreAware
Handler for rich documents like PDF or Word or any other file format that Tika handles that need the text to be extracted
first from the document.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_LOCATION
public static final String CONFIG_LOCATION
- See Also:
- Constant Field Values
DATE_FORMATS
public static final String DATE_FORMATS
- See Also:
- Constant Field Values
config
protected org.apache.tika.config.TikaConfig config
dateFormats
protected Collection<String> dateFormats
factory
protected SolrContentHandlerFactory factory
ExtractingRequestHandler
public ExtractingRequestHandler()
init
public void init(NamedList args)
- Specified by:
init
in interface SolrRequestHandler
- Overrides:
init
in class ContentStreamHandlerBase
inform
public void inform(SolrCore core)
- Specified by:
inform
in interface SolrCoreAware
createFactory
protected SolrContentHandlerFactory createFactory()
newLoader
protected ContentStreamLoader newLoader(SolrQueryRequest req,
UpdateRequestProcessor processor)
- Specified by:
newLoader
in class ContentStreamHandlerBase
getDescription
public String getDescription()
- Specified by:
getDescription
in interface SolrInfoMBean
- Specified by:
getDescription
in class RequestHandlerBase
getSource
public String getSource()
- Specified by:
getSource
in interface SolrInfoMBean
- Specified by:
getSource
in class RequestHandlerBase
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.