text
stringlengths 0
834k
|
|---|
@echo.
|
goto done
|
:status_usage
|
@echo.
|
@echo Usage: solr status
|
@echo.
|
@echo NOTE: This command will show the status of all running Solr servers
|
@echo.
|
goto done
|
:stop_usage
|
@echo.
|
@echo Usage: solr stop [-k key] [-p port] [-V]
|
@echo.
|
@echo -k key Stop key; default is solrrocks
|
@echo.
|
@echo -p port Specify the port the Solr HTTP listener is bound to
|
@echo.
|
@echo -all Find and stop all running Solr servers on this host
|
@echo.
|
@echo -V/-verbose Verbose messages from this script
|
@echo.
|
@echo NOTE: To see if any Solr servers are running, do: solr status
|
@echo.
|
goto done
|
:healthcheck_usage
|
@echo.
|
@echo Usage: solr healthcheck [-c collection] [-z zkHost] [-V]
|
@echo.
|
@echo Can be run from remote (non-Solr^) hosts, as long as a proper ZooKeeper connection is provided
|
@echo.
|
@echo -c collection Collection to run healthcheck against.
|
@echo.
|
@echo -z zkHost Zookeeper connection string; unnecessary if ZK_HOST is defined in solr.in.cmd;
|
@echo otherwise, default is localhost:9983
|
@echo.
|
@echo -V Enable more verbose output
|
@echo.
|
goto done
|
:create_usage
|
echo.
|
echo Usage: solr create [-c name] [-d confdir] [-n confname] [-shards #] [-replicationFactor #] [-p port] [-V]
|
echo.
|
echo Create a core or collection depending on whether Solr is running in standalone (core) or SolrCloud
|
echo mode (collection). In other words, this action detects which mode Solr is running in, and then takes
|
echo the appropriate action (either create_core or create_collection). For detailed usage instructions, do:
|
echo.
|
echo bin\solr create_core -help
|
echo.
|
echo or
|
echo.
|
echo bin\solr create_collection -help
|
echo.
|
goto done
|
:delete_usage
|
echo.
|
echo Usage: solr delete [-c name] [-deleteConfig true^|false] [-p port] [-V]
|
echo.
|
echo Deletes a core or collection depending on whether Solr is running in standalone (core) or SolrCloud
|
echo mode (collection). If you're deleting a collection in SolrCloud mode, the default behavior is to also
|
echo delete the configuration directory from Zookeeper so long as it is not being used by another collection.
|
echo You can override this behavior by passing -deleteConfig false when running this command.
|
echo.
|
echo Can be run on remote (non-Solr^) hosts, as long as a valid SOLR_HOST is provided in solr.in.cmd
|
echo.
|
echo -c name Name of core to delete
|
echo.
|
echo -deleteConfig boolean Delete the configuration directory from Zookeeper; default is true
|
echo.
|
echo -p port Port of a local Solr instance where you want to delete the core/collection
|
echo If not specified, the script will search the local system for a running
|
echo Solr instance and will use the port of the first server it finds.
|
echo.
|
echo -V Enables more verbose output.
|
echo.
|
goto done
|
:create_core_usage
|
echo.
|
echo Usage: solr create_core [-c ^<core^>] [-d confdir] [-p port] [-V]
|
echo.
|
echo When a configSet is used, this can be run from any host. If pointing at a non-configSet directory, this
|
echo must be run from the host that you wish to create the core on.
|
echo.
|
echo -c ^<core^> Name of core to create
|
echo.
|
echo -d confdir Configuration directory to copy when creating the new core, built-in options are:
|
echo.
|
echo _default: Minimal configuration, which supports enabling/disabling field-guessing support
|
echo sample_techproducts_configs: Example configuration with many optional features enabled to
|
echo demonstrate the full power of Solr
|
echo.
|
echo If not specified, default is: _default
|
echo.
|
echo Alternatively, you can pass the path to your own configuration directory instead of using
|
echo one of the built-in configurations, such as: bin\solr create_core -c mycore -d c:/tmp/myconfig
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.