lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Schultz (JIRA)" <>
Subject [jira] [Commented] (SOLR-12341) Allow bin/post to include command-line-specified arguments to Java
Date Thu, 10 May 2018 14:38:00 GMT


Christopher Schultz commented on SOLR-12341:

Adding the SOLR_POST_OPTS environment variable to the command line allows a user to invoke
the script in this way:

{{   $ SOLR_POST_OPTS="" bin/post -url https://host:port/solr/core/update

{{Without this patch, one would have to write one's own data-import tool which really isn't
necessary when `bin/post` is already there.}}

> Allow bin/post to include command-line-specified arguments to Java
> ------------------------------------------------------------------
>                 Key: SOLR-12341
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: scripts and tools
>    Affects Versions: 7.3
>            Reporter: Christopher Schultz
>            Priority: Major
>              Labels: patch
>         Attachments: SOLR-post.patch
> When using a standalone (non-clustered, non-ZK'd) Solr instance, enabling TLS was a chore
for a few reasons. One of them was that `bin/post` doesn't provide a way to specify the client's
trust store.
> This is easy to remedy: add a parameter to the `java` invocation in the script to include
options set in the shell.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message