以 Windows 服務的方式執行 Solr
此為選用選項。
在獨立模式或雲端模式下執行 Windchill Index Search 時,下列步驟適用。
1. 完成以下章節中所述的安裝與後安裝步驟:
◦ 如果您使用獨立索引搜尋伺服器:
◦ 如果您在雲端模式下使用索引搜尋伺服器:
2. 若要以 Windows 服務的方式執行 Solr,請使用 Apache Commons Procrun 服務程式 (prunsrv.exe)。此服務程式已隨附於 Solr 安裝。導覽至以下位置:
<INDEX_SEARCH_HOME>\bin
3. 執行 install_solr_service.bat。
核對 "PTC_SolrServer" 服務是否已新增至 Windows 服務清單,以及您能否啟動該服務。
若要解除安裝服務,請執行 uninstall_solr_service.bat。