Azure 认知搜索中的新增功能What's new in Azure Cognitive Search

了解服务中的新增功能。Learn what's new in the service. 请将本页加入书签,以随时了解该服务的最新信息。Bookmark this page to keep up to date with the service.

2020 版功能公告Feature announcements in 2020

2020 年 8 月August 2020

功能                        Feature                         类别Category 说明Description 可用性Availability
双重加密double encryption 安全性Security 通过对新的搜索服务配置客户管理的密钥 (CMK) 加密,在存储层启用双重加密。Enable double encryption at the storage layer by configuring customer-managed key (CMK) encryption on new search services. 创建新服务,配置客户管理的密钥并应用于索引或同义词映射,可受益于对该内容进行的双重加密。Create a new service, configure and apply customer-managed keys to indexes or synonym maps, and benefit from double encryption over that content. 2020 年 8 月 1 日后在以下区域创建的所有搜索服务都公开可用:中国东部 2。Generally available on all search services created after August 1, 2020 in these regions: China East 2. 使用门户、管理 REST API 或 SDK 创建服务。Use the portal, management REST APIs, or SDKs to create the service.

2020 年 7 月July 2020

功能                        Feature                         类别Category 说明Description 可用性Availability
Azure.Search.Documents 客户端库Azure.Search.Documents client library 用于 .NET 的 Azure SDKAzure SDK for .NET .NET 客户端库,由 Azure SDK 团队发布,旨在保持与其他 .NET 客户端库的一致性。.NET client library released by the Azure SDK team, designed for consistency with other .NET client libraries.

版本 11 面向搜索 REST api-version=2020-06-30,但尚不支持知识存储、地理空间类型或 FieldBuilderVersion 11 targets the Search REST api-version=2020-06-30, but does not yet support knowledge store, geospatial types, or FieldBuilder.

有关详细信息,请参阅快速入门:创建索引升级到 Azure.Search.Documents (v11)For more information, see Quickstart: Create an index and Upgrade to Azure.Search.Documents (v11).
正式发布。Generally available.
从 NuGet 安装 Azure.Search.Documents 包Install the Azure.Search.Documents package from NuGet.
azure.search.documents 客户端库azure.search.documents client library 用于 Python 的 Azure SDKAzure SDK for Python Python 客户端库,由 Azure SDK 团队发布,旨在保持与其他 Python 客户端库的一致性。Python client library released by the Azure SDK team, designed for consistency with other Python client libraries.

版本 11 面向搜索 REST api-version=2020-06-30。Version 11 targets the Search REST api-version=2020-06-30.
正式发布。Generally available.
从 PyPI 安装 azure-search-documents 包Install the azure-search-documents package from PyPI.
@azure/search-documents 客户端库@azure/search-documents client library 用于 JavaScript 的 Azure SDKAzure SDK for JavaScript JavaScript 客户端库,由 Azure SDK 团队发布,旨在保持与其他 JavaScript 客户端库的一致性。JavaScript client library released by the Azure SDK team, designed for consistency with other JavaScript client libraries.

版本 11 面向搜索 REST api-version=2020-06-30。Version 11 targets the Search REST api-version=2020-06-30.
正式发布。Generally available.
从 npm 安装 @azure/search-documents 包Install the @azure/search-documents package from npm.

2020 年 6 月June 2020

功能                        Feature                         类别Category 说明Description 可用性Availability
知识存储Knowledge store AI 扩充AI enrichment AI 扩充索引器的输出,将内容存储在 Azure 存储中以供其他应用和进程使用。Output of an AI-enriched indexer, storing content in Azure Storage for use in other apps and processes. 正式发布。Generally available.
使用搜索 REST API 2020-06-30 或更高版本,或门户。Use Search REST API 2020-06-30 or later, or the portal.
搜索 REST API 2020-06-30Search REST API 2020-06-30 RESTREST REST API 的新稳定版本。A new stable version of the REST APIs. 除了知识存储,此版本还包括搜索相关性和评分的增强功能。In addition to knowledge store, this version includes enhancements to search relevance and scoring. 正式发布。Generally available.
Okapi BM25 相关性算法Okapi BM25 relevance algorithm 查询Query 新的相关性排名算法自动用于 7 月 15 日之后创建的所有新搜索服务。New relevance ranking algorithm automatically used for all new search services created after July 15. 对于先前创建的服务,可以通过在索引字段上设置 similarity 属性来选择加入。For services created earlier, you can opt in by setting the similarity property on index fields. 正式发布。Generally available.
使用搜索 REST API 2020-06-30 或更高版本,或 REST API 2019-05-06。Use Search REST API 2020-06-30 or later, or REST API 2019-05-06.

2020 年 5 月(Microsoft Build 大会)May 2020 (Microsoft Build)

功能                        Feature                         类别Category 说明Description 可用性Availability
sessionId 查询参数scoringStatistics=global parametersessionId query parameter, scoringStatistics=global parameter 查询(相关性)Query (relevance) 将 sessionID 添加到查询中,以建立一个用于计算搜索分数的会话,scoringStatistics=global 用于从所有分区收集分数,以实现更一致的搜索分数计算。Add sessionID to a query to establish a session for computing search scores, with scoringStatistics=global to collect scores from all shards, for more consistent search score calculations. 正式发布。Generally available.
使用搜索 REST API 2020-06-30 或更高版本,或 REST API 2019-05-06。Use Search REST API 2020-06-30 or later, or REST API 2019-05-06.
featuresMode(预览版)featuresMode (preview) 查询Query 添加此查询参数,展开相关性分数以显示详细信息:每个字段相似度得分、每个字段术语频率和每个字段匹配的唯一标记数。Add this query parameter to expand a relevance score to show more detail: per field similarity score, per field term frequency, and per field number of unique tokens matched. 你可以在自定义评分算法中使用这些数据点。You can consume these data points in custom scoring algorithms. 有关演示此功能的示例,请参阅添加机器学习 (LearnToRank) 以搜索相关性For a sample that demonstrates this capability, see Add machine learning (LearnToRank) to search relevance. 公共预览版。Public preview.
使用搜索 REST API 2020-06-30-Preview 或 REST API 2019-05-06-Preview。Use Search REST API 2020-06-30-Preview or REST API 2019-05-06-Preview.

2020 年 3 月March 2020

功能                        Feature                         类别Category 说明Description 可用性Availability
本机 blob 软删除(预览版)Native blob soft delete (preview) 索引器Indexers Azure 认知搜索中的 Azure blob 存储索引器会识别处于软删除状态的 blob,并在编制索引过程中删除相应的搜索文档。An Azure Blob Storage indexer in Azure Cognitive Search will recognize blobs that are in a soft deleted state, and remove the corresponding search document during indexing. 公共预览版。Public preview.
使用搜索 REST API 2020-06-30-Preview 和 REST API 2019-05-06-Preview,并对启用了本机“软删除”的 Azure Blob 数据源运行索引器。Use the Search REST API 2020-06-30-Preview and REST API 2019-05-06-Preview, with Run Indexer against an Azure Blob data source that has native "soft delete" enabled.
管理 REST API (2020-03-13)Management REST API (2020-03-13) RESTREST 用于创建和管理搜索服务的新的稳定 REST API。New stable REST API for creating and managing a search service. 添加 IP 防火墙和专用链接支持Adds IP firewall and Private Link support 正式发布。Generally available.

2020 年 2 月February 2020

功能                        Feature                         类别Category 说明Description 可用性Availability
PII 检测(预览版)PII Detection (preview) AI 扩充AI enrichment 在编制索引期间使用的一项新的认知技能,它可以从输入文本中提取个人身份信息,并可让你通过多种方式在该文本中屏蔽此类信息。A new cognitive skill used during indexing that extracts personally identifiable information from an input text and gives you the option to mask it from that text in various ways. 公共预览版。Public preview.
使用门户或搜索 REST API 2020-06-30-Preview 或 REST API 2019-05-06-Preview。Use the portal or Search REST API 2020-06-30-Preview or REST API 2019-05-06-Preview.
自定义实体查找(预览版)Custom Entity Lookup (preview) AI 扩充AI enrichment 一项新的认知技能,可在用户自定义的单词和短语列表中查找文本。A new cognitive skill that looks for text from a custom, user-defined list of words and phrases. 它使用此列表为包含任何匹配实体的所有文档加上标签。Using this list, it labels all documents with any matching entities. 该技能还支持一定程度的模糊匹配,应用此匹配方法可以查找类似但不完全相同的匹配项。The skill also supports a degree of fuzzy matching that can be applied to find matches that are similar but not exact. 公共预览版。Public preview.
使用门户或搜索 REST API 2020-06-30-Preview 或 REST API 2019-05-06-Preview。Use the portal or Search REST API 2020-06-30-Preview or REST API 2019-05-06-Preview.

2020 年 1 月January 2020

功能                        Feature                         类别Category 说明Description 可用性Availability
客户管理的加密密钥Customer-managed encryption keys 安全性Security 除了平台的内置加密外,还添加了额外的加密层。Adds an extra layer of encryption in addition to the platform's built-in encryption. 使用你创建和管理的加密密钥,可以在有效负载到达搜索服务之前对索引内容和同义词映射进行加密。Using an encryption key that you create and manage, you can encrypt index content and synonym maps before the payload reaches a search service. 正式发布。Generally available.
使用 Search REST API 2019-05-06 或更高版本。Use Search REST API 2019-05-06 or later. 对于托管代码,即使该功能现在不再以预览版提供,但正确的包仍是 .NET SDK 版本 8.0-previewFor managed code, the correct package is still .NET SDK version 8.0-preview even though the feature is out of preview.
适用于入站防火墙支持的 IP 规则(预览版)IP rules for in-bound firewall support (preview) 安全性Security 将对搜索服务终结点的访问限制为特定的 IP 地址。Limit access to a search service endpoint to specific IP addresses. 预览版 API 在 CreateOrUpdate API 中提供 IpRuleNetworkRuleSet 属性。The preview API has new IpRule and NetworkRuleSet properties in CreateOrUpdate API. 此预览版功能可在选定的区域中使用。This preview feature is available in selected regions. 使用 api-version=2019-10-01-Preview 的公共预览版。Public preview using api-version=2019-10-01-Preview.

2019 版的功能公告Feature announcements in 2019

2019 年 12 月December 2019

  • 创建演示应用(预览版)是门户中用于生成可下载 HTML 文件的新向导,并可对索引进行查询(只读)访问。Create Demo App (preview) is a new wizard in the portal that generates a downloadable HTML file with query (read-only) access to an index. 文件附带了嵌入式脚本,用于呈现可正常运行的“localhost”式 Web 应用,该应用绑定到搜索服务中的索引。The file comes with embedded script that renders an operational "localhost"-style web app, bound to an index on your search service. 页面在向导中可配置,可以包含搜索栏、结果区域、边栏导航和自动提示查询支持。Pages are configurable in the wizard and can contain a search bar, results area, sidebar navigation, and typeahead query support. 可以脱机修改 HTML 以扩展或者自定义工作流或外观。You can modify the HTML offline to extend or customize the workflow or appearance. 演示应用并不易于扩展到包含生产方案中通常需要的安全层和托管层。A demo app is not easily extended to include security and hosting layers that are typically needed in production scenarios. 你应将其视为验证和测试工具,而不是通往完整客户端应用的捷径。You should consider it as a validation and testing tool rather than a short cut to a full client app.

2019 年 11 月- Ignite 大会November 2019 - Ignite Conference

  • 增量扩充(预览版)将缓存和有状态性添加到了扩充管道,使你能够处理特定的步骤或阶段,且不丢失已处理的内容。Incremental enrichment (preview) adds caching and statefullness to an enrichment pipeline so that you can work on specific steps or phases without losing content that is already processed. 以前,对扩充管道进行任何更改都需要重新生成整个管道。Previously, any change to an enrichment pipeline required a full rebuild. 使用增量扩充时,会保留高开销分析(尤其是图像分析)的输出。With incremental enrichment, the output of costly analysis, especially image analysis, is preserved.

新服务名称New service name

Azure 搜索现已重命名为 Azure 认知搜索,以反映认知技能和 AI 处理在核心操作中的更广泛用途(但仍为可选)。Azure Search is now renamed to Azure Cognitive Search to reflect the expanded (yet optional) use of cognitive skills and AI processing in core operations. API 版本、NuGet 包、命名空间和终结点未有变化。API versions, NuGet packages, namespaces, and endpoints are unchanged. 新的和现有的搜索解决方案不受服务名称更改的影响。New and existing search solutions are unaffected by the service name change.

服务更新Service updates

在 Azure 网站上可以找到 Azure 认知搜索的服务更新通告Service update announcements for Azure Cognitive Search can be found on the Azure web site.