You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "low-perry (via GitHub)" <gi...@apache.org> on 2025/04/14 18:58:33 UTC
[PR] Update tutorial-five-minutes.adoc [solr]
low-perry opened a new pull request, #3327:
URL: https://github.com/apache/solr/pull/3327
# Description
In the first tutorial on the Getting Started page, the section that shows how to create a [collection](https://solr.apache.org/guide/solr/latest/getting-started/tutorial-five-minutes.html#:~:text=9983%20%2Dp%208984-,Create%20a%20collection,-Like%20a%20database) doesn't work. Attempting to run the command results in the following response:
```bash
{
"responseHeader":{
"status":400,
"QTime":3},
"error":{
"metadata":[
"error-class","org.apache.solr.api.ApiBag$ExceptionWithErrObject",
"root-error-class","org.apache.solr.api.ApiBag$ExceptionWithErrObject"],
"details":[{
"name":"techproducts",
"errorMessages":["Unknown operation 'name' available ops are '[delete-alias, set-alias-property, backup-collection, create, create-alias, restore-collection]'"]},
```
# Solution
I decided to add the `create action` , and the collection was successfully created:
```bash
{
"responseHeader":{
"status":0,
"QTime":2427},
"success":{
"192.168.1.8:8983_solr":{
"responseHeader":{
"status":0,
"QTime":1580},
"core":"techproducts_shard1_replica_n1"}},
```
# Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
# Checklist
Please review the following and check all that apply:
- [ ] I have reviewed the guidelines for [How to Contribute](https://github.com/apache/solr/blob/main/CONTRIBUTING.md) and my code conforms to the standards described there to the best of my ability.
- [ ] I have created a Jira issue and added the issue ID to my pull request title.
- [ ] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended, not available for branches on forks living under an organisation)
- [ ] I have developed this patch against the `main` branch.
- [ ] I have run `./gradlew check`.
- [ ] I have added tests for my changes.
- [ ] I have added documentation for the [Reference Guide](https://github.com/apache/solr/tree/main/solr/solr-ref-guide)
--
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
Re: [PR] Update tutorial-five-minutes.adoc [solr]
Posted by "low-perry (via GitHub)" <gi...@apache.org>.
low-perry commented on PR #3327:
URL: https://github.com/apache/solr/pull/3327#issuecomment-2803354548
@epugh You are right, I apologise. I was using version 8.x
--
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
Re: [PR] Update tutorial-five-minutes.adoc [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh closed pull request #3327: Update tutorial-five-minutes.adoc
URL: https://github.com/apache/solr/pull/3327
--
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
Re: [PR] Update tutorial-five-minutes.adoc [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #3327:
URL: https://github.com/apache/solr/pull/3327#issuecomment-2802863627
I *think* maybe you are not on one of the Solr 9x releases??? Maybe?
--
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
Re: [PR] Update tutorial-five-minutes.adoc [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #3327:
URL: https://github.com/apache/solr/pull/3327#issuecomment-2802901631
Okay, I ran the latest solr and tried this and it worked:
```
curl --request POST \
--url http://localhost:8983/api/collections \
--header 'Content-Type: application/json' \
--data '{
"name": "techproducts",
"numShards": 1,
"replicationFactor": 1
}'
```
@low-perry I think you are on a old version of Solr.. However, I very much appreciate the PR, and please do continue to provide them! If you are on the latest Solr, please do ping us!
--
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
Re: [PR] Update tutorial-five-minutes.adoc [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #3327:
URL: https://github.com/apache/solr/pull/3327#issuecomment-2804543237
No need to apologize! We are all humans + volunteers! I love getting Ref Guide PR's, so please do continue as you find things.
--
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
Re: [PR] Update tutorial-five-minutes.adoc [solr]
Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #3327:
URL: https://github.com/apache/solr/pull/3327#issuecomment-2802862233
You may have discovered a bug.. The ref guide for the V2 create collection command does not have that:
https://solr.apache.org/guide/solr/latest/deployment-guide/collection-management.html#create
What version of Solr did you test with?
@gerlowskija ?
--
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