drive:\%CLEARQUEST_HOME%\CQ.Solr\
$CLEARQUEST_HOME/CQ.Solr/
如果要建立 ClearQuest 使用者資料庫之索引的位置,請執行下列步驟來複製並重新命名索引:
%WAS_BIN%\wsadmin.bat -conntype NONE -lang jython -profileName cqsearchprofile -f %WAS_BIN%\setSolrHome.py -interactive:yes drive:/CQ.Solr/yourDBName/Solr/solr
$WAS_BIN/wsadmin.sh -conntype NONE -lang jython -profileName cqsearchprofile -f $WAS_BIN/setSolrHome.py -interactive:yes /CQ.Solr/yourDBName/Solr/solr
在提示您修改剛剛指定的指令行引數值時,輸入 n 指示否。將儲存配置變更。
在啟動時,Solr 會讀取 solr.solr.home 的值,來找出其配置檔。
> net stop "IBM WebSphere Application Server V6.1 - cqsearchprofile" > net start "IBM WebSphere Application Server V6.1 - cqsearchprofile"
依據您的 UNIX 系統或 Linux 版本,新增下列其中一行至 init.d 檔案:
$WAS_BIN/startServer.sh WebSphere-host -profileName cqsearchprofile
或
$WAS_BIN/startServer.csh WebSphere-host -profileName cqsearchprofile
如此可以確保每當 WebSphere Application Server 重新啟動時,即自動啟動 cqsearchprofile。