---
schema_version: "1"
id: 9f8c06aa36425a1fb96cbd5b5ac4f238d0f6465e77488cfaafbf9738cdd68eca
title: Tableau Server 內容探索服務
collection: tableau
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/next/zh-tw/server/server_process_content-exploration.md
canonical_url: https://help.tableau.com/v0.0/server/zh-tw/server_process_content-exploration.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 03d067a784140b4f889ec261128876e43b30d41f3740f8d9213e3cfbe13c0da7
description: Understand the Tableau Server Content Exploration Service for indexing content.
---
[跳至主要內容](#main-content)

# Tableau Server 內容探索服務

Tableau Server 內容探索服務可擴充搜尋和瀏覽流程的功能，並負責索引 Tableau Server 中的所有內容。此服務可在 Tableau Server 2021.1 和更高版本中使用，並且是搜尋和瀏覽外部資產（例如資料庫和表）所必需的功能。只有啟用 [Tableau Catalog](https://help.tableau.com/v0.0/server/zh-tw/dm_catalog_enable.htm) 後，資料庫和表才可用。

內容探索服務適用於快速搜尋和篩選搜尋。此服務不是基於 SOLR，而是依靠彈性搜尋來執行其功能。

## 伺服器設定

內容探索服務會自動安裝在初始節點上。

### 多節點設定

為取得高可用性和更好的效能，建議在執行應用程式伺服器的每個節點上至少安裝一個內容探索服務執行個體。

<table style="width: 100%;mc-table-style: url('Resources/TableStyles/Basic-Border.css');" class="TableStyle-Basic-Border" cellspacing="0"><colgroup><col class="TableStyle-Basic-Border-Column-Column1"><col class="TableStyle-Basic-Border-Column-Column1"></colgroup><tbody><tr class="TableStyle-Basic-Border-Body-Body1"><td class="TableStyle-Basic-Border-BodyE-Column1-Body1"><strong>處理序</strong></td><td class="TableStyle-Basic-Border-BodyD-Column1-Body1"><p> Content Exploration Service</p></td></tr><tr class="TableStyle-Basic-Border-Body-Body1"><td class="TableStyle-Basic-Border-BodyE-Column1-Body1"><strong>狀態</strong></td><td class="TableStyle-Basic-Border-BodyD-Column1-Body1"> Content Exploration Service 的狀態在狀態頁面上可見，並且可以使用 TSM CLI 進行存取，以檢視狀態。有關詳情，請參閱<a href="https://help.tableau.com/v0.0/server/zh-tw/service_viewstatus.htm" class="xref">檢視伺服器處理序狀態</a>。</td></tr><tr class="TableStyle-Basic-Border-Body-Body1"><td class="TableStyle-Basic-Border-BodyB-Column1-Body1"><strong>記錄</strong></td><td class="TableStyle-Basic-Border-BodyA-Column1-Body1"> Content Exploration Service  產生的記錄檔位於 <code><code>C:\ProgramData\Tableau\Tableau Server\data\tabsvc\logs\</code>contentexploration</code> 中。有關詳情，請參閱<a href="https://help.tableau.com/v0.0/server/zh-tw/logs_loc.htm" class="xref">Tableau Server 記錄檔和記錄檔位置</a></td></tr></tbody></table>

**內容探索服務失敗時會發生什麼？**

若內容探索服務停止工作，則對其提供的內容類型的任何搜尋請求都不會出現在搜尋結果中。若已安裝該服務的多個執行個體，後續請求會路由到健康情況良好的執行個體。

失敗的內容探索服務會自動重啟；只要電腦本身健康情況良好，服務就會重新啟用。

## 效能調整

內容探索服務可以根據需要進行擴充，但會基於節點上的可用記憶體。但是，預設情況下會設定記憶體配置，其可確定服務可以使用的最大記憶體數量。若由於記憶體配置不足而導致效能問題，通常不建議變更此設定，但是可以執行以下命令來變更最大記憶體配置設定。

首先，透過執行以下命令來檢索目前的最大記憶體配置：

`tsm configuration get -k contentexploration.vmopts`

執行以下集合/集命令，透過更新 -Xmx 值來變更最大記憶體配置，隨後套用擱置的變更。請勿變更任何其他選項：

tsm configuration set -k contentexploration.vmopts -v "-Xmx**<new value>**m -XX:+ExitOnOutOfMemoryError -Dspring.profiles.active=monolith"

例如：

tsm configuration set -k contentexploration.vmopts -v "-Xmx**1024**m -XX:+ExitOnOutOfMemoryError -Dspring.profiles.active=monolith"

`tsm pending-changes apply`

## 記錄檔

內容探索服務會建立兩組記錄檔：

- `control_contentexploration*.log`：這些記錄檔將包含有關服務啟動和啟用的資訊。
- `contentexploration_*.log`：任何錯誤或問題都記錄在此處。

有關詳情，請參閱 [Tableau Server 記錄檔和記錄檔位置](https://help.tableau.com/v0.0/server/zh-tw/logs_loc.htm)。

## 搜尋準確度

有幾種方法可以使用內容探索服務來確保可搜尋的內容保持最新：

- 每當修改由 Tableau Server 或 Tableau Cloud 管理的內容（包括權限）時，內容探索服務都會對相關文件重新編制索引，以使其搜尋索引保持最新。
- 系統產生的背景程式工作會定期驗證所有內容是否已正確同步，並對發現的任何差異重新編制索引。

## 重新索引

在還原過程中，還原流程將對 Tableau Server 管理的內容和外部資產啟動完全重新索引。重新索引流程會消耗 CPU 資源，在備份和還原過程中可能會很明顯。