You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/04/26 13:41:15 UTC
[GitHub] [solr] risdenk opened a new pull request, #822: SOLR-16148: Tika / Solr Cell documentation needs to use techproducts
risdenk opened a new pull request, #822:
URL: https://github.com/apache/solr/pull/822
https://issues.apache.org/jira/browse/SOLR-16148
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr] janhoy commented on a diff in pull request #822: SOLR-16148: Tika / Solr Cell documentation needs to use techproducts
Posted by GitBox <gi...@apache.org>.
janhoy commented on code in PR #822:
URL: https://github.com/apache/solr/pull/822#discussion_r858808257
##########
solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc:
##########
@@ -77,20 +77,20 @@ For a few examples of how this could be done, see this blog post by Erick Ericks
== Trying out Solr Cell
-You can try out the Tika framework using the `schemaless` example included in Solr.
+You can try out the Tika framework using the `techproducts` example included in Solr.
-This command will simply start Solr and create a core/collection named "gettingstarted" with the `_default` configset.
+This command will simply start Solr and create a core/collection named `techproducts` with the `techproducts` configset.
[source,bash]
----
-bin/solr -e schemaless
+bin/solr -e techproducts
Review Comment:
There is a big difference between these - the schemaless example creates an empty collection, whereas techproduct indexes a bunch of sample docs, which clutters this example. So a suggestion is to either create a new example for this (`bin/solr -e extracting`), or perhaps easier, create the core manually, as suggested below
```suggestion
bin/solr start
bin/solr create -c gettingstarted -d server/solr/configsets/sample_techproducts_configs/conf
```
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr] janhoy commented on a diff in pull request #822: SOLR-16148: Tika / Solr Cell documentation needs to use techproducts
Posted by GitBox <gi...@apache.org>.
janhoy commented on code in PR #822:
URL: https://github.com/apache/solr/pull/822#discussion_r858848208
##########
solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc:
##########
@@ -77,20 +77,20 @@ For a few examples of how this could be done, see this blog post by Erick Ericks
== Trying out Solr Cell
-You can try out the Tika framework using the `schemaless` example included in Solr.
+You can try out the Tika framework using the `techproducts` example included in Solr.
-This command will simply start Solr and create a core/collection named "gettingstarted" with the `_default` configset.
+This command will simply start Solr and create a core/collection named `techproducts` with the `techproducts` configset.
[source,bash]
----
-bin/solr -e schemaless
+bin/solr -e techproducts
Review Comment:
I tested with these two commands, that work:
```bash
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
```
A benefit to being explicit like this is that users actually learn the two facts that they need to add the module to classpath, and add the handler with some config....
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr] janhoy commented on a diff in pull request #822: SOLR-16148: Tika / Solr Cell documentation needs to use techproducts
Posted by GitBox <gi...@apache.org>.
janhoy commented on code in PR #822:
URL: https://github.com/apache/solr/pull/822#discussion_r858848208
##########
solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc:
##########
@@ -77,20 +77,20 @@ For a few examples of how this could be done, see this blog post by Erick Ericks
== Trying out Solr Cell
-You can try out the Tika framework using the `schemaless` example included in Solr.
+You can try out the Tika framework using the `techproducts` example included in Solr.
-This command will simply start Solr and create a core/collection named "gettingstarted" with the `_default` configset.
+This command will simply start Solr and create a core/collection named `techproducts` with the `techproducts` configset.
[source,bash]
----
-bin/solr -e schemaless
+bin/solr -e techproducts
Review Comment:
I tested with these two commands, that work:
```bash
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
```
A benefit to being explicit like this is that users also get a feel for some of the request handler configurations..
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr] risdenk commented on a diff in pull request #822: SOLR-16148: Tika / Solr Cell documentation needs to use techproducts
Posted by GitBox <gi...@apache.org>.
risdenk commented on code in PR #822:
URL: https://github.com/apache/solr/pull/822#discussion_r858918659
##########
solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc:
##########
@@ -77,20 +77,20 @@ For a few examples of how this could be done, see this blog post by Erick Ericks
== Trying out Solr Cell
-You can try out the Tika framework using the `schemaless` example included in Solr.
+You can try out the Tika framework using the `techproducts` example included in Solr.
-This command will simply start Solr and create a core/collection named "gettingstarted" with the `_default` configset.
+This command will simply start Solr and create a core/collection named `techproducts` with the `techproducts` configset.
[source,bash]
----
-bin/solr -e schemaless
+bin/solr -e techproducts
Review Comment:
Addressed in [b744940](https://github.com/apache/solr/pull/822/commits/b744940a0b20b4832ac7f66b05c7464d743f8c2f)
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr] risdenk merged pull request #822: SOLR-16148: Tika / Solr Cell documentation needs to add /update/extract handler
Posted by GitBox <gi...@apache.org>.
risdenk merged PR #822:
URL: https://github.com/apache/solr/pull/822
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr] risdenk commented on a diff in pull request #822: SOLR-16148: Tika / Solr Cell documentation needs to use techproducts
Posted by GitBox <gi...@apache.org>.
risdenk commented on code in PR #822:
URL: https://github.com/apache/solr/pull/822#discussion_r858849899
##########
solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc:
##########
@@ -77,20 +77,20 @@ For a few examples of how this could be done, see this blog post by Erick Ericks
== Trying out Solr Cell
-You can try out the Tika framework using the `schemaless` example included in Solr.
+You can try out the Tika framework using the `techproducts` example included in Solr.
-This command will simply start Solr and create a core/collection named "gettingstarted" with the `_default` configset.
+This command will simply start Solr and create a core/collection named `techproducts` with the `techproducts` configset.
[source,bash]
----
-bin/solr -e schemaless
+bin/solr -e techproducts
Review Comment:
Thanks yea that makes a lot of sense.
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr] janhoy commented on a diff in pull request #822: SOLR-16148: Tika / Solr Cell documentation needs to use techproducts
Posted by GitBox <gi...@apache.org>.
janhoy commented on code in PR #822:
URL: https://github.com/apache/solr/pull/822#discussion_r858808257
##########
solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc:
##########
@@ -77,20 +77,20 @@ For a few examples of how this could be done, see this blog post by Erick Ericks
== Trying out Solr Cell
-You can try out the Tika framework using the `schemaless` example included in Solr.
+You can try out the Tika framework using the `techproducts` example included in Solr.
-This command will simply start Solr and create a core/collection named "gettingstarted" with the `_default` configset.
+This command will simply start Solr and create a core/collection named `techproducts` with the `techproducts` configset.
[source,bash]
----
-bin/solr -e schemaless
+bin/solr -e techproducts
Review Comment:
There is a big difference between these - the schemaless example creates an empty collection, whereas techproduct indexes a bunch of sample docs, which clutters this example. So a suggestion is to either create a new example for this (`bin/solr -e extracting`), or perhaps easier, create the core manually, as suggested below
```suggestion
bin/solr start
bin/solr create -c gettingstarted -d example/techproducts/solr/techproducts/conf
```
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr] janhoy commented on a diff in pull request #822: SOLR-16148: Tika / Solr Cell documentation needs to use techproducts
Posted by GitBox <gi...@apache.org>.
janhoy commented on code in PR #822:
URL: https://github.com/apache/solr/pull/822#discussion_r858808257
##########
solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-tika.adoc:
##########
@@ -77,20 +77,20 @@ For a few examples of how this could be done, see this blog post by Erick Ericks
== Trying out Solr Cell
-You can try out the Tika framework using the `schemaless` example included in Solr.
+You can try out the Tika framework using the `techproducts` example included in Solr.
-This command will simply start Solr and create a core/collection named "gettingstarted" with the `_default` configset.
+This command will simply start Solr and create a core/collection named `techproducts` with the `techproducts` configset.
[source,bash]
----
-bin/solr -e schemaless
+bin/solr -e techproducts
Review Comment:
There is a big difference between these - the schemaless example creates an empty collection, whereas techproduct indexes a bunch of sample docs, which clutters this example. So a suggestion is to either create a new example for this (`bin/solr -e extracting`), or perhaps easier, create the core manually, as suggested below
```suggestion
bin/solr start
bin/solr create -c gettingstarted -d server/solr/configsets/sample_techproducts_configs/conf
```
Another option would be to use the schemaless example, then issue a config-api command to add `/update/extract` handler...
--
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: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org