epugh commented on code in PR #4177:
URL: https://github.com/apache/solr/pull/4177#discussion_r4107688944


##########
solr/solr-ref-guide/modules/indexing-guide/pages/indexing-with-update-handlers.adoc:
##########
@@ -507,10 +565,26 @@ CSV formatted update requests may be sent to Solr's 
`/update` handler using `Con
 
 A sample CSV file is provided at `example/exampledocs/books.csv` that you can 
use to add some documents to the Solr "techproducts" example:
 
+[tabs#csv-file-request]
+======
+V1 API::
++
+====
 [source,bash]
 ----
-curl 'http://localhost:8983/solr/my_collection/update?commit=true' 
--data-binary @example/exampledocs/books.csv -H 'Content-type:application/csv'
+curl 'http://localhost:8983/solr/my_collection/update?commit=true' -H 
'Content-type:application/csv' -d @example/exampledocs/books.csv

Review Comment:
   I saw the `--data` and missed the second `-binary` part.  Eyes glossed over 
the difference.



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

Reply via email to