mirror of https://github.com/apache/lucene.git
22 lines
930 B
Batchfile
22 lines
930 B
Batchfile
@echo off
|
|
REM You can override pass the following parameters to this script:
|
|
REM
|
|
|
|
set JVM=java
|
|
|
|
REM Find location of this script
|
|
|
|
set SDIR=%~dp0
|
|
if "%SDIR:~-1%"=="\" set SDIR=%SDIR:~0,-1%
|
|
|
|
set "LOG4J_CONFIG=file:///%SDIR%\..\..\resources\log4j2-console.xml"
|
|
|
|
REM Settings for ZK ACL
|
|
REM set SOLR_ZK_CREDS_AND_ACLS=-DzkACLProvider=org.apache.solr.common.cloud.VMParamsAllAndReadonlyDigestZkACLProvider ^
|
|
REM -DzkCredentialsProvider=org.apache.solr.common.cloud.VMParamsSingleSetCredentialsDigestZkCredentialsProvider ^
|
|
REM -DzkDigestUsername=admin-user -DzkDigestPassword=CHANGEME-ADMIN-PASSWORD ^
|
|
REM -DzkDigestReadonlyUsername=readonly-user -DzkDigestReadonlyPassword=CHANGEME-READONLY-PASSWORD
|
|
|
|
"%JVM%" %SOLR_ZK_CREDS_AND_ACLS% %ZKCLI_JVM_FLAGS% -Dlog4j.configurationFile="%LOG4J_CONFIG%" ^
|
|
-classpath "%SDIR%\..\..\solr-webapp\webapp\WEB-INF\lib\*;%SDIR%\..\..\lib\ext\*;%SDIR%\..\..\lib\*" org.apache.solr.cloud.ZkCLI %*
|