You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2014/10/28 16:03:34 UTC
[jira] [Updated] (SOLR-6435) Add script to simplify posting content
to Solr
[ https://issues.apache.org/jira/browse/SOLR-6435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik Hatcher updated SOLR-6435:
-------------------------------
Attachment: SOLR-6435.patch
Current patch works like this:
{code}
# Usage:
# bin/post <collection> http://lucidworks.com [depth=1] [delay=1]
# bin/post <collection> ~/Documents
# bin/post <collection> files*.csv
# bin/post <collection> files*.xml
# bin/post <collection> files*.json
{code}
arbitrary parameters, after the second (file or URL) parameter, are automatically made -D system properties when invoking SimplePostTool.
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org