[
https://issues.apache.org/jira/browse/SOLR-6435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185580#comment-14185580
]
Timothy Potter commented on SOLR-6435:
--------------------------------------
As part of the work I'm doing for SOLR-3619, I'm also invoking the post tool
using:
"$JAVA" -Durl=http://localhost:$SOLR_PORT/solr/$EXAMPLE/update -jar
$SOLR_TIP/example/exampledocs/post.jar $SOLR_TIP/example/exampledocs/*.xml
Of course, this complexity should be hidden behind the simple: bin/solr post
command
Also as part of the work in SOLR-3619, the script will be able to auto-detect
the port a local Solr is listening too, so that users don't have to do things
like:
bin/solr post -url http://localhost:8983/solr ...
> 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
> Fix For: 5.0, Trunk
>
> Attachments: 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]