[ https://issues.apache.org/jira/browse/SOLR-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14281729#comment-14281729 ]
Erik Hatcher commented on SOLR-6900: ------------------------------------ bq. +1 for Delete. Done: {{bin/post -c signals -d "<delete><id>99</id></delete>"}} stdin also supported: {code} echo -e "id,val\n38,0.47" | bin/post -c signals -type text/csv -out yes -d {code} The {{-d}} switch (or {{\--data}} or just {{\-}}) can be used without actual stdin or string args too, which causes an empty update command to be sent which will force a commit by default (and an optimize with {{-optimize yes}} specified; note that optimize is not listed in usage help intentionally currently). Example: {{bin/post -c signals -d}} to just issue a commit. > bin/post improvements needed > ---------------------------- > > Key: SOLR-6900 > URL: https://issues.apache.org/jira/browse/SOLR-6900 > Project: Solr > Issue Type: Bug > Affects Versions: 5.0, Trunk > Reporter: Erik Hatcher > Assignee: Erik Hatcher > Priority: Blocker > Fix For: 5.0, Trunk > > > * Fix glob patterns. They don't work as expected: bin/post collection1 > \*.xml expands \*.xml such that the script gets all the file names as > parameters not just literally "\*.xml" > * Add error handling to check that the collection exists > * Create Windows version -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org