org.apache.solr.handler.extraction
Class ExtractingDocumentLoader
java.lang.Object
org.apache.solr.handler.loader.ContentStreamLoader
org.apache.solr.handler.extraction.ExtractingDocumentLoader
public class ExtractingDocumentLoader
- extends ContentStreamLoader
The class responsible for loading extracted content into Solr.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEXT_FORMAT
public static final String TEXT_FORMAT
- Extract Only supported format
- See Also:
- Constant Field Values
XML_FORMAT
public static final String XML_FORMAT
- Extract Only supported format. Default
- See Also:
- Constant Field Values
autoDetectParser
protected org.apache.tika.parser.AutoDetectParser autoDetectParser
config
protected org.apache.tika.config.TikaConfig config
factory
protected SolrContentHandlerFactory factory
ExtractingDocumentLoader
public ExtractingDocumentLoader(SolrQueryRequest req,
UpdateRequestProcessor processor,
org.apache.tika.config.TikaConfig config,
SolrContentHandlerFactory factory)
load
public void load(SolrQueryRequest req,
SolrQueryResponse rsp,
ContentStream stream,
UpdateRequestProcessor processor)
throws Exception
- Specified by:
load
in class ContentStreamLoader
- Throws:
Exception
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.