安裝與升級 > Windchill 安裝與組態 > 使用 PTC Solution Installer > 安裝 Windchill 解決方案 > 選用產品設定 > Windchill Index Search 安裝 > Windchill Index Search 安裝後組態 > 設定索引搜尋用戶端的內容
  
設定索引搜尋用戶端的內容
設定下列內容將執行 Solr 的主機新增為 Windchill 中的受信任主機。需要這樣才能讓 Solr 從 Windchill 下載內容:
xconfmanager -s wt.auth.trustedHosts=<Solr 主機> -t codebase/wt.properties -p
* 
如果您已在高度可用性模式 (雲端模式) 下安裝索引搜尋伺服器,請提供以逗號分隔的 Solr 主機清單。例如:
xconfmanager -s wt.auth.trustedHosts=host1.ptcnet.ptc.com,host2.ptcnet.ptc.com -t codebase/wt.properties -p
設定下列屬性來指定 Solr 從 Windchill 下載內容時用於執行 Windchill 驗證的使用者:
xconfmanager -s wt.index.solrEffectiveUid=<使用者 ID> -t codebase/wt.properties -p
例如:
xconfmanager -s wt.index.solrEffectiveUid=SolrAdmin -t codebase/wt.properties -p
* 
應該建立一位使用者並授予對 WTObject 的讀取及下載權限。Solr 使用此使用者來驗證,以確認其在 Windchill 中為受信任主機,並下載將編製索引的文件內容。