public class ExtractingDocumentLoader extends ContentStreamLoader
Modifier and Type | Class and Description |
---|---|
static class |
ExtractingDocumentLoader.MostlyPassthroughHtmlMapper |
Modifier and Type | Field and Description |
---|---|
protected org.apache.tika.parser.AutoDetectParser |
autoDetectParser |
protected org.apache.tika.config.TikaConfig |
config |
protected SolrContentHandlerFactory |
factory |
protected ParseContextConfig |
parseContextConfig |
static String |
TEXT_FORMAT
Extract Only supported format
|
static String |
XML_FORMAT
Extract Only supported format.
|
pollQueueTime
Constructor and Description |
---|
ExtractingDocumentLoader(SolrQueryRequest req,
UpdateRequestProcessor processor,
org.apache.tika.config.TikaConfig config,
ParseContextConfig parseContextConfig,
SolrContentHandlerFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
load(SolrQueryRequest req,
SolrQueryResponse rsp,
ContentStream stream,
UpdateRequestProcessor processor) |
getDefaultWT, init
public static final String TEXT_FORMAT
public static final String XML_FORMAT
protected org.apache.tika.parser.AutoDetectParser autoDetectParser
protected org.apache.tika.config.TikaConfig config
protected ParseContextConfig parseContextConfig
protected SolrContentHandlerFactory factory
public ExtractingDocumentLoader(SolrQueryRequest req, UpdateRequestProcessor processor, org.apache.tika.config.TikaConfig config, ParseContextConfig parseContextConfig, SolrContentHandlerFactory factory)
public void load(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream, UpdateRequestProcessor processor) throws Exception
load
in class ContentStreamLoader
Exception
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.