Re: [PR] Update tutorial-five-minutes.adoc [solr]

2025-04-15 Thread via GitHub


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: [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]



Re: [PR] Update tutorial-five-minutes.adoc [solr]

2025-04-15 Thread via GitHub


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: [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]



Re: [PR] Update tutorial-five-minutes.adoc [solr]

2025-04-14 Thread via GitHub


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: [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]



Re: [PR] Update tutorial-five-minutes.adoc [solr]

2025-04-14 Thread via GitHub


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: [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]



Re: [PR] Update tutorial-five-minutes.adoc [solr]

2025-04-14 Thread via GitHub


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: [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]



[PR] Update tutorial-five-minutes.adoc [solr]

2025-04-14 Thread via GitHub


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: [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]



Re: [PR] Update tutorial-five-minutes.adoc [solr]

2025-04-14 Thread via GitHub


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: [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]



Re: [PR] Update tutorial-five-minutes.adoc [solr]

2024-02-29 Thread via GitHub


VickieKarasic commented on PR #2319:
URL: https://github.com/apache/solr/pull/2319#issuecomment-1971413545

   > Thanks for this, I've merged it! Keep those fixes coming!
   
   Thanks @epugh! 


-- 
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]



Re: [PR] Update tutorial-five-minutes.adoc [solr]

2024-02-29 Thread via GitHub


epugh commented on PR #2319:
URL: https://github.com/apache/solr/pull/2319#issuecomment-1971204679

   Thanks for this, I've merged it!  Keep those fixes coming!


-- 
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]



Re: [PR] Update tutorial-five-minutes.adoc [solr]

2024-02-29 Thread via GitHub


epugh merged PR #2319:
URL: https://github.com/apache/solr/pull/2319


-- 
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]



Re: [PR] Update tutorial-five-minutes.adoc [solr]

2024-02-28 Thread via GitHub


epugh commented on PR #2319:
URL: https://github.com/apache/solr/pull/2319#issuecomment-1969940836

   Nice find @VickieKarasic !   So, while `books.json` does work, it doesn't 
quite line up with the "techproducts" concept...  However, then I look at the 
page, and I see we use book data in other places!  Someday it would be nice to 
have an overall cleaner story across our various demos ;-).  Maybe instead of 
"techproducts" it should just be "products" to encompass, books, monitors, 
memory, ipod etc!   


-- 
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]



[PR] Update tutorial-five-minutes.adoc [solr]

2024-02-28 Thread via GitHub


VickieKarasic opened a new pull request, #2319:
URL: https://github.com/apache/solr/pull/2319

   fix example data files
   
   https://issues.apache.org/jira/browse/SOLR-X
   
   
   
   
   # Description
   
   When we ran the original command, we received the following error: 
   ```
   curl: Failed to open example/products.json
   curl: option -d: error encountered when reading a file
   curl: try 'curl --help' or 'curl --manual' for more information
   ```
   
   # Solution
   
   We changed this to a file in the exampledocs directory:
   
   ```
   -d example/exampledocs/books.json \
   ```
   
   # 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:
   
   - [ x] 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)
   - [ ] 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: [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]