Class ESReporterFactory
java.lang.Object
org.apache.tika.pipes.reporter.es.ESReporterFactory
- All Implemented Interfaces:
PipesReporterFactory,TikaExtensionFactory<PipesReporter>,org.pf4j.ExtensionPoint
Factory for creating ES pipes reporters.
Example JSON configuration:
"pipes-reporters": {
"es-pipes-reporter": {
"esUrl": "http://localhost:9200/tika-status",
"keyPrefix": "status_",
"includeRouting": false
}
}
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ESReporterFactory
public ESReporterFactory()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceTikaExtensionFactory<PipesReporter>- Returns:
- name of the extension in the config file
-
buildExtension
public ESPipesReporter buildExtension(ExtensionConfig extensionConfig) throws IOException, TikaConfigException - Specified by:
buildExtensionin interfaceTikaExtensionFactory<PipesReporter>- Throws:
IOExceptionTikaConfigException
-