[
https://issues.apache.org/jira/browse/SOLR-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474096
]
Bertrand Delacretaz commented on SOLR-86:
-----------------------------------------
Considering the tutorial examples
(http://lucene.apache.org/solr/tutorial.html), it'd be useful to allow this to
POST its standard input, or the contents of a command-line parameter:
Use case:
echo "<delete><query>name:DDR</query></delete>" | java -jar post.jar
http://localhost:8983
or (having both would be useful I think):
java -jar post.jar -data "<delete><query>name:DDR</query></delete>"
http://localhost:8983
> [PATCH] standalone updater cli based on httpClient
> ---------------------------------------------------
>
> Key: SOLR-86
> URL: https://issues.apache.org/jira/browse/SOLR-86
> Project: Solr
> Issue Type: New Feature
> Components: update
> Reporter: Thorsten Scherler
> Assigned To: Erik Hatcher
> Attachments: simple-post-tool-2007-02-15.patch,
> simple-post-tool-2007-02-16.patch,
> simple-post-using-urlconnection-approach.patch, solr-86.diff, solr-86.diff
>
>
> We need a cross platform replacement for the post.sh.
> The attached code is a direct replacement of the post.sh since it is actually
> doing the same exact thing.
> In the future one can extend the CLI with other feature like auto commit,
> etc..
> Right now the code assumes that SOLR-85 is applied since we using the servlet
> of this issue to actually do the update.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.