This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9_0 by this push:
     new d6e36d59089 SOLR-16148: Tika / Solr Cell documentation needs to add 
/update/extract handler (#822)
d6e36d59089 is described below

commit d6e36d590896755ca962c6d2ddedf78ca4f463cc
Author: Kevin Risden <[email protected]>
AuthorDate: Tue Apr 26 12:44:27 2022 -0400

    SOLR-16148: Tika / Solr Cell documentation needs to add /update/extract 
handler (#822)
---
 .../modules/indexing-guide/pages/indexing-with-tika.adoc     | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git 
a/solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc 
b/solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc
index 73a38af2c96..6d8afde498a 100644
--- a/solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc
+++ b/solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc
@@ -79,11 +79,19 @@ For a few examples of how this could be done, see this blog 
post by Erick Ericks
 
 You can try out the Tika framework using the `schemaless` example included in 
Solr.
 
-This command will simply start Solr and create a core/collection named 
"gettingstarted" with the `_default` configset.
+This command will start Solr, create a core/collection named `gettingstarted` 
with the `_default` configset, and enable the extraction module. Then the 
`/update/extract` handler is added to the `gettingstarted` core/collection to 
enable Solr Cell.
 
 [source,bash]
 ----
-bin/solr -e schemaless
+bin/solr start -e schemaless -Dsolr.modules=extraction
+
+curl -X POST -H 'Content-type:application/json' -d '{
+  "add-requesthandler": {
+    "name": "/update/extract",
+    "class": "solr.extraction.ExtractingRequestHandler",
+    "defaults":{ "lowernames": "true", "captureAttr":"true"}
+  }
+}' 'http://localhost:8983/solr/gettingstarted/config'
 ----
 
 Once Solr is started, you can use curl to send a sample PDF included with Solr 
via HTTP POST:

Reply via email to