このシナリオでは、TextSearch という接続と SAMPL というユーザー データベースを伴うスキーマ リポジトリを使用します。 パスの指定では、Windows オペレーティング システム上で実行していることが前提です。 UNIX システムまたは Linux 上で実行している場合は、適切に置き換えてください。
cqperl cqtsadmin.pl --username admin --password secret --dbset TextSearch --userdb SAMPL --ftshome D:¥CQ.Search --init_cq_fts --create_fts_was_profile automatic --fts_was_profile_home D:¥CQFTS.WASprofiles
このコマンドが完了すると、スキーマに対応する構成データが D:¥CQ.Search¥TextSearch_SAMPL¥ ディレクトリに配置されます。Customer=Attachment,CallTrackingID,Name,Phone,...
Defect=Attachments,Description,Headline,Keywords,...
Email_Rule=Action_types,Actions,Name,Operator_Value,...
Project=Description,Name,dbid,...
Customer=Attachment,CallTrackingID,&Name,Phone,...
Defect=Attachments,Description,&Headline,Keywords,...
Email_Rule=Action_types,Actions,&Name,Operator_Value,...
Project=Description,&Name,dbid,...
<newValue required="no"></newValue>
変更後:
<newValue required="no">60</newValue>
これにより、更新モード インデックス付け遅延のデフォルト値が 10 分 (600 秒) から 60 秒に変更されます。つまり、レコードの変更内容が全文検索の結果セットに表示されるようになるまでに約 60 秒かかります。
<newValue required="no"></newValue>
変更後
<newValue required="no">10</newValue>
これにより、ClearQuest アカウント再ログインを発行する前の更新モード レコード抽出のサイクル数が、デフォルト値 1 から 10 に変更されます。
cqperl cqtsadmin.pl --username admin --password secret --dbset TextSearch --userdb SAMPL --ftshome D:¥CQ.Search --setup_cq_fts
fts-was-profile-home/profile-name/bin/startServer.sh
ここで、変数は以下のとおりです。/opt/CQFTS.WASprofiles/cqfts_TextSearch_SAMPL/bin/startServer.sh server1 -profileName cqfts_TextSearch_SAMPL
これで、SAMPL データベースでの全文検索が有効になりました。