インストールおよびアップグレード > Installation and Configuration Guide > PTC ソリューションインストーラの使用 > Windchill ソリューションのインストール > オプション製品の設定 > Windchill インデックスサーチのインストール > Windchill Index Search のインストール後の設定 > インデックスサーチサーバーのクラウドモードでの設定 > 既存の Solr クラウドでの Solr ノードの追加または除去
  
既存の Solr クラウドでの Solr ノードの追加または除去
Solr ノードの追加
1. インデックスサーチサーバーのクラウドモードでのインストールで説明されているようにインデックスサーチサーバーをインストールし、適切な ZooKeeper ホスト、Solr ホスト、Solr データディレクトリ、Solr ポート、Solr ユーザー、および Solr パスワードを指定します。
2. Solr ノードを起動します。
3. Solr URL を使用して次の API を呼び出し、この新規ノードにレプリカを作成して Solr クラウドに追加します。
<Solr URL>/solr/admin/collections?action=ADDREPLICA&collection=<コレクションの名前>&shard=<シャードの名前>
次に例を示します。
Windchill Index Search:
http://host1.ptcnet.ptc.com:9501/solr/admin/collections?action=ADDREPLICA&collection=wblib&shard=shard1
Windchill PartsLink:
http://host1.ptcnet.ptc.com:9501/solr/admin/collections?action=ADDREPLICA&collection=clfstructurelib&shard=shard1
S1000D:
http://host1.ptcnet.ptc.com:9501/solr/admin/collections?action=ADDREPLICA&collection=sisaadlib&shard=shard1
Service Information Manager:
http://host1.ptcnet.ptc.com:9501/solr/admin/collections?action=ADDREPLICA&collection=sisaadlib&shard=shard1
* 
レプリカが作成される必要のあるノードを指定するためのパラメータを追加することもできます。次に例を示します。
http://host1.ptcnet.ptc.com:9501/solr/admin/collections?action=ADDREPLICA&collection=wblib&shard=shard1&node=127.0.0.1:9501_solr
Solr ノードの除去
1. Solr URL を使用して次の API を呼び出し、Solr クラウドからレプリカを削除します。
<Solr URL>/solr/admin/collections?action=DELETEREPLICA&collection=<コレクションの名前>&shard=<シャードの名前>&replica=<レプリカノードの名前>
* 
シャードの名前 (shard) およびレプリカノードの名前 (coreNodeName) の値は <インデックスサーチホーム>/solr/server/solr/<コレクションコアの名前> にある core.properties ファイルにあります。
次に例を示します。
Windchill Index Search:
http://host1.ptcnet.ptc.com:9501/solr/admin/collections?action=DELETEREPLICA&collection=wblib&shard=shard1&replica=core_node1
Windchill PartsLink:
http://host1.ptcnet.ptc.com:9501/solr/admin/collections?action=DELETEREPLICA&collection=clfstructurelib&shard=shard1&replica=core_node1
S1000D:
http://host1.ptcnet.ptc.com:9501/solr/admin/collections?action=DELETEREPLICA&collection=sisaadlib&shard=shard1&replica=core_node1
2. 除去した Solr ノードのインストールファイルは削除できます。