This is an automated email from the ASF dual-hosted git repository.
tballison pushed a commit to branch docs/4.2.x
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/docs/4.2.x by this push:
new 830d8592af docker docs: OCR-off example needs a 'server' block through
4.2.x (#3458)
830d8592af is described below
commit 830d8592afc3f9c74dd1224c6742ddddbe7a4d80
Author: Tim Allison <[email protected]>
AuthorDate: Fri Oct 30 11:43:16 2026 -0400
docker docs: OCR-off example needs a 'server' block through 4.2.x (#3458)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
docs/modules/ROOT/pages/using-tika/docker.adoc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/docs/modules/ROOT/pages/using-tika/docker.adoc
b/docs/modules/ROOT/pages/using-tika/docker.adoc
index 02e255da57..0cbc620eac 100644
--- a/docs/modules/ROOT/pages/using-tika/docker.adoc
+++ b/docs/modules/ROOT/pages/using-tika/docker.adoc
@@ -100,9 +100,11 @@ For example, to keep the full image's parsers but turn OCR
off:
[source,json]
----
-{ "text-recognizers": [] }
+{ "server": {}, "text-recognizers": [] }
----
+Through 4.2.x, tika-server refuses a config file without a `server` block;
`{}` keeps the defaults.
+
See xref:configuration/index.adoc[Configuration] for the file format.
A catalog preset needs no file: name it in `TIKA_PRESETS` (comma-separated) or
with `--preset`,