SOLR-18465: Remove stray shell-prompt character from a bin/solr example - #4923
serhiy-bzhezytskyy wants to merge 1 commit into
Conversation
The Spatial page's only console example had a leading $, inconsistent with the other 32 bin/solr examples in the ref guide, which would make a copy-pasted command fail.
|
@epugh tagging you since this is under SOLR-18459/SOLR-18465, which you filed — see the note above about the ticket's scope. |
|
|
||
| [,console] | ||
| $ bin/solr post -t "application/json" --solr-url http://localhost:8983 --name mycollection --params "format=geojson" /path/to/geojson.file | ||
| bin/solr post -t "application/json" --solr-url http://localhost:8983 --name mycollection --params "format=geojson" /path/to/geojson.file |
There was a problem hiding this comment.
I think we've been doing --content-type?
|
Correction to the description of this PR: the leading |
https://issues.apache.org/jira/browse/SOLR-18465
Description
The Spatial page's only console example (
bin/solr post ...for indexing GeoJSON/WKT) had a leading$, unlike the other 32bin/solrexamples in the ref guide, which would make a copy-pasted command fail.Solution
Removed the
$.Note
This ticket's description field is empty, and the page doesn't actually contain any
curlcommands (only this onebin/solr postexample and some bare HTTP query-string fragments). This PR fixes the one concrete formatting defect I could find; if more was intended, happy to take a pointer to it.Tests
N/A — single-character doc fix, verified by inspection against the other 32
bin/solrexamples in the ref guide.AI-assisted (Claude Sonnet 5).