tballison commented on code in PR #4853:
URL: https://github.com/apache/solr/pull/4853#discussion_r3938520119
##########
solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc:
##########
@@ -384,6 +384,18 @@ Example: `passwordsFile=/path/to/passwords.txt`
// +
// Only applicable for `tikaserver` backend. Can only be set in
`solrconfig.xml`, not per request.
+`tikaserver.config`::
++
+[%autowidth,frame=none]
+|===
+|Optional |Default: none
+|===
++
+A raw JSON object sent as the per-request parser configuration for Tika Server
(e.g., `{"pdf-parser":{"ocr":{"strategy":"NO_OCR"}}}`).
+See <<Parser-Specific Properties>> below for details and an important security
note: this requires `allowPerRequestConfig=true` on the Tika Server, which is
off by default.
++
+Example: `tikaserver.config={"pdf-parser":{"ocr":{"strategy":"NO_OCR"}}}`
Review Comment:
The above allows fine-grained control over ocr on PDFs. I agree with your
point about the user base for the extraction handler.
If you don't want to allow configs or deal with documentation, you can cut
it all out.
For the intermediate user, as long as you are loading an initialization
config, they can figure this out on their own.
Out of the box, no config, and off you go.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]