Ref Guide: Parameterize another place that uses version with solr-docs-version variable

This commit is contained in:
Cassandra Targett 2018-03-16 14:20:46 -05:00
parent 144206db33
commit b6427c83fa
1 changed files with 2 additions and 2 deletions

View File

@ -536,11 +536,11 @@ The `bin/solr auth enable` command makes several changes to enable Basic Authent
----
* Adds two lines to `bin/solr.in.sh` or `bin\solr.in.cmd` to set the authentication type, and the path to `basicAuth.conf`:
+
[source]
[source,subs="attributes"]
----
# The following lines added by ./solr for enabling BasicAuth
SOLR_AUTH_TYPE="basic"
SOLR_AUTHENTICATION_OPTS="-Dsolr.httpclient.config=/path/to/solr-6.6.0/server/solr/basicAuth.conf"
SOLR_AUTHENTICATION_OPTS="-Dsolr.httpclient.config=/path/to/solr-{solr-docs-version}.0/server/solr/basicAuth.conf"
----
* Creates the file `server/solr/basicAuth.conf` to store the credential information that is used with `bin/solr` commands.