[
https://issues.apache.org/jira/browse/SOLR-6435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14260946#comment-14260946
]
Erik Hatcher commented on SOLR-6435:
------------------------------------
bq. Is 'tehfiles' intentional or misspelling?
yeah, lol - was just a comment in the script, not official usage. We'll get
official -help style usage output in the script as well (feel free to open a
new JIRA if you're feeling it).
bq. Are there any plans for something - anything - that issues a delete command?
What do you have in mind? One could still do that with the SimplePostTool,
with {code}java -Ddata=args -Dc=tehfiles -classpath dist/solr-core-*.jar
org.apache.solr.util.SimplePostTool dist/solr-core-*.jar
'<delete><id>42</id></delete>'{code} however bin/post does not (currently)
support -Ddata=args. Certainly we wouldn't want a user to type in that XML
incantation though, so I imagine there could be a bin/delete script that
allowed for clean deleting by id or by query. I'm curious what scenarios and
interface folks imagine for a friendlier delete facility.
> Add script to simplify posting content to Solr
> ----------------------------------------------
>
> Key: SOLR-6435
> URL: https://issues.apache.org/jira/browse/SOLR-6435
> Project: Solr
> Issue Type: Improvement
> Components: scripts and tools
> Affects Versions: 4.10
> Reporter: Erik Hatcher
> Assignee: Erik Hatcher
> Fix For: 5.0, Trunk
>
> Attachments: SOLR-6435.patch, SOLR-6435.patch
>
>
> Solr's SimplePostTool (example/exampledocs/post.jar) provides a very useful,
> simple way to get common types of content into Solr. With the new start
> scripts and the directory refactoring, let's move this tool to a first-class,
> non "example" script fronted tool.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]