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 が自動的に開始されるようになります。