

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Amazon Kendra 中的索引类型
<a name="hiw-index-types"></a>

Amazon Kendra 有三种索引类型：GenAI 企业版索引、企业版索引和开发者版索引。以下各部分介绍了每种索引的功能。

**Topics**
+ [Amazon Kendra GenAI 企业版索引](#kendra-gen-ai-index)
+ [Amazon Kendra 企业版索引](#kendra-enterprise-index)
+ [Amazon Kendra 开发人员版索引](#kendra-developer-index)

## Amazon Kendra GenAI 企业版索引
<a name="kendra-gen-ai-index"></a>

Amazon Kendra GenAI 企业版索引为检索 API 操作和检索增强生成（RAG）使用案例提供最高的准确性。它采用最新的信息检索技术，如混合搜索（关键字和向量）、语义嵌入和重排序模型，并且已经在各种数据集上进行了测试。与 Amazon Kendra 开发人员版和 Amazon Kendra 企业版索引相比，查询 API 操作为 Amazon Kendra GenAI 企业版索引提供类似的准确性。

Amazon Kendra GenAI 企业版索引可让您的索引数据在生成人工智能服务之间 AWS 移动。借助此功能，您可以无缝地重复使用您的投资，而不必重建索引。您可以在 [Amazon Bedrock 知识库](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html)中将其用作托管式检索器，并将其与 Amazon Bedrock 工具（例如代理和提示流程）集成，以构建高级人工智能助手。您也可以将其与 [Amazon Q Business](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/what-is.html) 结合使用，以构建完全托管式数字助手。

与其他两种索引类型相比，Amazon Kendra GenAI 企业版索引提供的容量单位更小、更精细，起始价格也更低。这有助于您更有效地利用容量。

**注意**  
为了获得最佳体验和准确性，我们建议您选择 Amazon Kendra GenAI 企业版索引。

**Topics**
+ [支持的功能](#kendra-gen-ai-index-features)
+ [限制](#genai-index-limitations)

### 支持的功能
<a name="kendra-gen-ai-index-features"></a>

如果您在 RAG 使用案例中使用[检索](https://docs.aws.amazon.com/kendra/latest/APIReference/API_Retrieve.html) API 操作，则 Amazon Kendra GenAI 企业版索引支持以下功能：
+ **全面支持** – [置信度分数存储桶](https://docs.aws.amazon.com/kendra/latest/APIReference/API_QueryResultItem.html#Kendra-Type-QueryResultItem-ScoreAttributes)、[筛选](https://docs.aws.amazon.com/kendra/latest/dg/filtering.html)、[分面](https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-facets)、[相关性调试](https://docs.aws.amazon.com/kendra/latest/dg/tuning.html)、[自定义文档富集](https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html)、[自定义元数据](https://docs.aws.amazon.com/kendra/latest/dg/custom-attributes.html)以及[调整查询容量和文档容量](https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html)。
+ **部分支持** – [数据来源连接器](https://docs.aws.amazon.com/kendra/latest/dg/data-source.html)和[用户上下文筛选](https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html)。有关部分支持的功能的更多信息，请参阅[限制](https://docs.aws.amazon.com/kendra/latest/dg/hiw-index-types.html#genai-index-limitations)。

如果您在搜索使用案例中使用[查询](https://docs.aws.amazon.com/kendra/latest/APIReference/API_Query.html) API 操作，则 Amazon Kendra GenAI 企业版索引支持以下功能：
+ **全面支持** – [文档排名](https://docs.aws.amazon.com/kendra/latest/dg/search-service-rerank.html)、[提取式问答](https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html)、[置信度分数存储桶](https://docs.aws.amazon.com/kendra/latest/APIReference/API_QueryResultItem.html#Kendra-Type-QueryResultItem-ScoreAttributes)、[筛选](https://docs.aws.amazon.com/kendra/latest/dg/filtering.html)、[分面](https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-facets)、[排序](https://docs.aws.amazon.com/kendra/latest/dg/tuning-sorting-responses.html#sorting-responses)、[折叠和展开查询结果](https://docs.aws.amazon.com/kendra/latest/dg/expand-collapse-query-results.html)、[索引浏览](https://docs.aws.amazon.com/kendra/latest/dg/browsing.html)、[Boolean 查询](https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax)、[完全匹配](https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax)、[通配符查询](https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax)、[查询建议](https://docs.aws.amazon.com/kendra/latest/dg/query-suggestions.html)、[查询拼写检查器](https://docs.aws.amazon.com/kendra/latest/dg/query-spell-check.html)、[相关性调试](https://docs.aws.amazon.com/kendra/latest/dg/tuning.html)、[增量学习](https://docs.aws.amazon.com/kendra/latest/dg/submitting-feedback.html)、[自定义文档富集](https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html)、[自定义元数据](https://docs.aws.amazon.com/kendra/latest/dg/custom-attributes.html)、[调整查询容量和文档容量](https://docs.aws.amazon.com/kendra/latest/dg/adjusting-capacity.html)以及[搜索体验](https://docs.aws.amazon.com/kendra/latest/dg/deploying.html)。
+ **部分支持** – [数据来源连接器](https://docs.aws.amazon.com/kendra/latest/dg/data-source.html)和[用户上下文筛选](https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html)。有关部分支持的功能的更多信息，请参阅[限制](https://docs.aws.amazon.com/kendra/latest/dg/hiw-index-types.html#kendra-gen-ai-index)。

### 限制
<a name="genai-index-limitations"></a>

以下内容概述了 Amazon Kendra GenAI 企业版索引的已知限制：
+ Amazon Kendra GenAI 企业版索引仅在美国东部（弗吉尼亚州北部）和美国西部（俄勒冈州）提供。
+ Amazon Kendra GenAI 企业版索引仅支持英语内容。
+ Amazon Kendra GenAI 企业版索引仅支持 v2.0 Amazon Kendra 数据来源连接器。
+ 在 Amazon Kendra GenAI 企业版索引中，您只能使用[用户属性](https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html#context-filter-attribute)按用户上下文筛选搜索结果。
+ Amazon Kendra GenAI 企业版索引不支持对文档的[基于令牌的用户访问控制](https://docs.aws.amazon.com/kendra/latest/dg/create-index-access-control.html)或[基于用户 ID 和组的用户访问控制](https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html#context-filter-user-incl-datasources)。
+ 亚马逊 Kendra GenAI 企业版索引的 [CreateAccessControlConfiguration](https://docs.aws.amazon.com/kendra/latest/APIReference/API_CreateAccessControlConfiguration.html)API 操作已禁用。
+ 如果您结合使用 Amazon Kendra GenAI 企业版索引和 Amazon Q Business，请注意以下有关控制最终用户对文档访问权限的事项：

  Amazon Q Business 使用用户电子邮件 ID 来确定最终用户对索引中文档的访问权限。当您将 Amazon Kendra 索引连接到时 Amazon Q Business，会将用户的识别电子邮件ID中 Amazon Q Business 继到Amazon Kendra，以便为最终用户启用文档筛选。如果连接到您的 Amazon Kendra 索引的数据源不使用基于电子邮件ID的文档筛选，或者电子邮件ID不存在，则只能从公共文档 Amazon Q Business 生成响应。

## Amazon Kendra 企业版索引
<a name="kendra-enterprise-index"></a>

Amazon Kendra 企业版索引提供语义搜索功能，并提供适用于生产工作负载的高可用性服务。

**Topics**
+ [支持的功能](#kendra-ent-index-features)
+ [限制](#ent-index-limitations)

### 支持的功能
<a name="kendra-ent-index-features"></a>

如果您在 RAG 使用案例中使用[检索](https://docs.aws.amazon.com/kendra/latest/APIReference/API_Retrieve.html) API 操作，那么 Amazon Kendra 企业版索引支持以下功能：使用[高级查询语法](https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax)进行查询、对查询使用[建议的拼写更正](https://docs.aws.amazon.com/kendra/latest/dg/query-spell-check.html)、[分面](https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-facets)、自动完成搜索查询的[查询建议](https://docs.aws.amazon.com/kendra/latest/dg/query-suggestions.html)以及[增量学习](https://docs.aws.amazon.com/kendra/latest/dg/submitting-feedback.html)。

如果您在搜索使用案例中使用[查询](https://docs.aws.amazon.com/kendra/latest/APIReference/API_Query.html) API 操作，则 Amazon Kendra 企业版索引支持所有功能。

### 限制
<a name="ent-index-limitations"></a>

以下内容概述了 Amazon Kendra 企业版索引的已知限制：
+ 如果您使用的是 Amazon Kendra 企业版索引 Amazon Q Business，请注意以下有关控制最终用户访问文档的注意事项：

  Amazon Q Business 使用用户电子邮件 ID 来确定最终用户对索引中文档的访问权限。当您将 Amazon Kendra 索引连接到时 Amazon Q Business，会将用户的识别电子邮件ID中 Amazon Q Business 继到Amazon Kendra，以便为最终用户启用文档筛选。如果连接到您的 Amazon Kendra 索引的数据源不使用基于电子邮件ID的文档筛选，或者电子邮件ID不存在，则只能从公共文档 Amazon Q Business 生成响应。

## Amazon Kendra 开发人员版索引
<a name="kendra-developer-index"></a>

Amazon Kendra 开发人员版索引还提供语义搜索功能，供您测试使用案例。但是，我们不建议对生产使用案例使用此功能。

**Topics**
+ [支持的功能](#kendra-dev-index-features)
+ [限制](#dev-index-limitations)

### 支持的功能
<a name="kendra-dev-index-features"></a>

如果您在 RAG 使用案例中使用[检索](https://docs.aws.amazon.com/kendra/latest/APIReference/API_Retrieve.html) API 操作，那么 Amazon Kendra 开发人员版索引支持以下功能：使用[高级查询语法](https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax)进行查询、对查询使用[建议的拼写更正](https://docs.aws.amazon.com/kendra/latest/dg/query-spell-check.html)、[分面](https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-facets)、自动完成搜索查询的[查询建议](https://docs.aws.amazon.com/kendra/latest/dg/query-suggestions.html)以及[增量学习](https://docs.aws.amazon.com/kendra/latest/dg/submitting-feedback.html)。

如果您在搜索使用案例中使用[查询](https://docs.aws.amazon.com/kendra/latest/APIReference/API_Query.html) API 操作，则 Amazon Kendra 开发人员版索引支持所有功能。

### 限制
<a name="dev-index-limitations"></a>

以下内容概述了 Amazon Kendra 开发人员版索引的已知限制：
+ 如果您将 Amazon Kendra 开发者版索引与一起使用 Amazon Q Business，请注意以下有关控制最终用户访问文档的注意事项：

  Amazon Q Business 使用用户电子邮件 ID 来确定最终用户对索引中文档的访问权限。当您将 Amazon Kendra 索引连接到时 Amazon Q Business，会将用户的识别电子邮件ID中 Amazon Q Business 继到Amazon Kendra，以便为最终用户启用文档筛选。如果连接到您的 Amazon Kendra 索引的数据源不使用基于电子邮件ID的文档筛选，或者电子邮件ID不存在，则只能从公共文档 Amazon Q Business 生成响应。