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
此操作确保只要系统重新启动,cqsearchprofile 就会自动启动。