Create the Solr Cores (Standalone Mode)
The cores for Windchill Index Search and Windchill PartsLink modules are automatically created at the time of installation. This section describes how to create the cores manually when cores created by PSI got removed for some reason.
* 
The cores of the Windchill Index Search and Windchill PartsLink modules are automatically created, even if the modules are not installed. Therefore, if you later decide to install these modules, you are not required to create the respective cores.
1. Open a command prompt and start Solr using the following commands:
Start Solr (Windows):
<INDEX_SEARCH_HOME>/bin/Index_Search_Server.bat start
Start Solr (Unix):
sh <INDEX_SEARCH_HOME>/bin/Index_Search_Server.sh start
where <INDEX_SEARCH_HOME> is the installation directory in which the index search server is installed.
2. From the command prompt, navigate to <INDEX_SEARCH_HOME>/solr/bin and execute the following command to create the core for the required module:
Windchill Index Search
Windows:
solr.cmd create -c wblib -n wblib -d D:\ptc\IndexSearchServer\SolrServer\solr_schemas\wblib --solr-url <SOLR_URL>
Unix:
solr create -c wblib -n wblib -d /opt/ptc/IndexSearchServer/SolrServer/solr_schemas/wblib --solr-url <SOLR_URL>
Windchill Classification
Windows:
solr.cmd create -c clfstructurelib -n clfstructurelib -d D:\ptc\IndexSearchServer\SolrServer\solr_schemas\clfstructurelib --solr-url <SOLR_URL>
Unix:
solr create -c clfstructurelib -n clfstructurelib -d /opt/ptc/IndexSearchServer/SolrServer/solr_schemas/clfstructurelib --solr-url <SOLR_URL>
3. Open the Solr administrator interface and verify that Solr is running and the cores are available:
http://<SOLR_HOSTNAME>:<SOLR_PORT>/solr
Было ли это полезно?