Create the Solr Cores (Standalone Mode)
The cores for Windchill Index Search, Windchill PartsLink, S1000D and Service Information Manager 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, Windchill PartsLink, S1000D and Service Information Manager 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
▪ Unix:
solr create -c wblib -n wblib -d /opt/ptc/IndexSearchServer/SolrServer/solr_schemas/wblib
Windchill Classification
▪ Windows:
solr.cmd create -c clfstructurelib -n clfstructurelib -d D:\ptc\IndexSearchServer\SolrServer\solr_schemas\clfstructurelib
▪ Unix:
solr create -c clfstructurelib -n clfstructurelib -d /opt/ptc/IndexSearchServer/SolrServer/solr_schemas/clfstructurelib
S1000D
▪ Windows:
solr.cmd create -c sisaadlib -n sisaadlib -d D:\ptc\IndexSearchServer\SolrServer\solr_schemas\sisaadlib
▪ Unix:
solr create -c sisaadlib -n sisaadlib -d /opt/ptc/IndexSearchServer/SolrServer/solr_schemas/sisaadlib
Service Information Manager
▪ Windows:
solr.cmd create -c sisatalib -n sisatalib -d D:\ptc\IndexSearchServer\SolrServer\solr_schemas\sisatalib
▪ Unix:
solr create -c sisatalib -n sisatalib -d /opt/ptc/IndexSearchServer/SolrServer/solr_schemas/sisatalib
3. Open the Solr administrator interface and verify that Solr is running and the cores are available:
http://<SOLR_HOSTNAME>:<SOLR_PORT>/solr