Cheat Sheet (PDF)
|
This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production. |
A single A4 page to print or keep beside the editor, with the baseline date 2026-10-13 and Apache Tika 4.1.0 (3.3.2 for the 3.x line). No 4.2 release exists yet. It covers:
-
the release lines with their Java requirement (3.x: 11, 4.x: 17), the artifact map with
tika-bom, and the "which way to run Tika?" table (facade andAutoDetectParserin process,PipesForkParser, tika-app, tika-server, tika-grpc and Tika Pipes); -
the facade one-liners (
detect,parseToString), theAutoDetectParserskeleton withTikaInputStream, a handler,MetadataandParseContext, and aPipesForkParserskeleton; -
the detection layers and the
MediaTypehierarchy, the 4.x charset detection chain, and the content handler types ofBasicContentHandlerFactory(Markdown by default, the 100,000-characterBodyContentHandlerlimit); -
the key metadata properties and the 3.x to 4.x
tk:renames,RecursiveParserWrapperand/rmetawith the embedded limits, andLanguageDetectorwith CharSoup or OpenNLP; -
the
tika-config.jsontop-level sections,TikaLoaderand${env:NAME}secrets, the PDF parser and OCR settings (text-recognizers, Tesseract, the-fullimage), and VLM parsers and inference in one line each; -
custom
ParserandDetectorregistration with@TikaComponentor a service file; -
the tika-app flags (
-zand-Zfor attachments), the tika-server endpoints,429versus503,allowPipesandallowPerRequestConfig, the requiredserverblock and a Docker run line, and the tika-grpc image on port 9090; -
the Tika Pipes roles, parse modes, emit strategies and plugins, and the limits and timeouts table with defaults;
-
the security rules (isolate parsing, trusted network only, no public exposure, external commands);
-
a Spring Boot upload to tika-server with
RestClient, and why the Spring AI and LangChain4j Tika readers need Tika 3.x; -
search (Lucene, Solr, Elasticsearch, OpenSearch) and RAG integration in one line each; and
-
the changes from 1.x to 2.x, 3.x and 4.x.
References
-
Section bibliography for the official documentation, standards and books behind every line of the sheet.