Skip to content

Commit 8b6995c

Browse files
Merge pull request #235929 from HeidiSteen/heidist-refresh
[azure search] Differentiate semantic search from vector search
2 parents c953a2e + a6a50be commit 8b6995c

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

articles/search/search-faq-frequently-asked-questions.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
ms.author: heidist
1010
ms.service: cognitive-search
1111
ms.topic: faq
12-
ms.date: 02/08/2023
12+
ms.date: 04/26/2023
1313
title: Cognitive Search Frequently Asked Questions
1414
summary: Find answers to commonly asked questions about Azure Cognitive Search.
1515

@@ -21,11 +21,6 @@ sections:
2121
answer: |
2222
Azure Cognitive Search is a service on Azure that provides a dedicated search engine and persistent storage of your searchable content for full text search scenarios. It also includes optional, integrated AI used during indexing to extract more text and structure from raw content.
2323
24-
- question: |
25-
Does Cognitive Search support vector search?
26-
answer: |
27-
No. Currently, Cognitive Search runs on a version of Apache Lucene that doesn't support vector search.
28-
2924
- question: |
3025
How do I work with Cognitive Search?
3126
answer: |

articles/search/semantic-search-overview.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,39 @@ author: HeidiSteen
88
ms.author: heidist
99
ms.service: cognitive-search
1010
ms.topic: conceptual
11-
ms.date: 06/17/2022
11+
ms.date: 04/26/2023
1212
ms.custom: references_regions
1313
---
1414
# Semantic search in Azure Cognitive Search
1515

1616
> [!IMPORTANT]
1717
> Semantic search is in public preview under [supplemental terms of use](https://azure.microsoft.com/support/legal/preview-supplemental-terms/). It's available through the Azure portal, preview REST API, and beta SDKs. These features are billable (see [Availability and pricing](semantic-search-overview.md#availability-and-pricing)).
1818
19-
Semantic search is a collection of query-related capabilities that bring semantic relevance and language understanding to search results. This article is a high-level introduction to semantic search. The embedded video describes the technology, and the section at the end covers availability and pricing.
19+
Currently in Azure Cognitive Search, "semantic search" is a collection of query-related capabilities that bring semantic relevance and language understanding to textual search results. This article is a high-level introduction to semantic search. The embedded video describes the feature, and the section at the end covers availability and pricing.
2020

21-
Semantic search is a premium feature. We recommend this article for background, but if you'd rather get started, follow these steps:
21+
Semantic search is a premium feature that's billed by usage. We recommend this article for background, but if you'd rather get started, follow these steps:
2222

2323
> [!div class="checklist"]
2424
> * [Check regional and service tier requirements](#availability-and-pricing).
25-
> * [Enable semantic search](#enable-semantic-search) on your search service.
25+
> * [Enable semantic search for semantic ranking](#enable-semantic-search) on your search service.
2626
> * Create or modify queries to [return semantic captions and highlights](semantic-how-to-query-request.md).
2727
> * Add a few more query properties to also [return semantic answers](semantic-answers.md).
2828
2929
## What is semantic search?
3030

31-
Semantic search is a collection of features that improve the quality of search results. When enabled on your search service, it extends the query execution pipeline in two ways. First, it adds secondary ranking over an initial result set, promoting the most semantically relevant results to the top of the list. Second, it extracts and returns captions and answers in the response, which you can render on a search page to improve the user's search experience.
31+
Semantic search is a collection of features that improve the quality of initial search results for text-based queries. When you enable it on your search service, semantic search extends the query execution pipeline in two ways:
32+
33+
* First, it adds secondary ranking over an initial result set, promoting the most semantically relevant results to the top of the list.
34+
35+
* Second, it extracts and returns captions and answers in the response, which you can render on a search page to improve the user's search experience.
36+
37+
Although semantic search and vector search are closely related, this particular feature doesn't provide vector search.
3238

3339
| Feature | Description |
3440
|---------|-------------|
3541
| [Semantic re-ranking](semantic-ranking.md) | Uses the context or semantic meaning of a query to compute a new relevance score over existing results. |
3642
| [Semantic captions and highlights](semantic-how-to-query-request.md) | Extracts sentences and phrases from a document that best summarize the content, with highlights over key passages for easy scanning. Captions that summarize a result are useful when individual content fields are too dense for the results page. Highlighted text elevates the most relevant terms and phrases so that users can quickly determine why a match was considered relevant. |
37-
| [Semantic answers](semantic-answers.md) | An optional and additional substructure returned from a semantic query. It provides a direct answer to a query that looks like a question. It requires that a document has text with the characteristics of an answer. |
43+
| [Semantic answers](semantic-answers.md) | An optional and extra substructure returned from a semantic query. It provides a direct answer to a query that looks like a question. It requires that a document has text with the characteristics of an answer. |
3844

3945
## How semantic ranking works
4046

@@ -58,23 +64,23 @@ Query execution proceeds as usual, with term parsing, analysis, and scans over t
5864

5965
In the preparation step, the document corpus returned from the initial result set is analyzed at the sentence and paragraph level to find passages that summarize each document. In contrast with keyword search, this step uses machine reading and comprehension to evaluate the content. Through this stage of content processing, a semantic query returns [captions](semantic-how-to-query-request.md) and [answers](semantic-answers.md). To formulate them, semantic search uses language representation to extract and highlight key passages that best summarize a result. If the search query is a question - and answers are requested - the response will also include a text passage that best answers the question, as expressed by the search query.
6066

61-
For both captions and answers, existing text is used in the formulation. The semantic models do not compose new sentences or phrases from the available content, nor does it apply logic to arrive at new conclusions. In short, the system will never return content that doesn't already exist.
67+
For both captions and answers, existing text is used in the formulation. The semantic models don't compose new sentences or phrases from the available content, nor does it apply logic to arrive at new conclusions. In short, the system will never return content that doesn't already exist.
6268

6369
Results are then re-scored based on the [conceptual similarity](semantic-ranking.md) of query terms.
6470

6571
To use semantic capabilities in queries, you'll need to make small modifications to the [search request](semantic-how-to-query-request.md), but no extra configuration or reindexing is required.
6672

6773
## Semantic capabilities and limitations
6874

69-
Semantic search is a newer technology so it's important to set expectations about what it can and cannot do. What it can do is improve the quality of search by:
75+
Semantic search is a newer technology so it's important to set expectations about what it can and can't do. What it can do is improve the quality of search by:
7076

7177
* Promoting matches that are semantically closer to the intent of original query.
7278

7379
* Finding strings in each result that can be used as captions, and potentially answers, that can be rendered on a search results page.
7480

75-
What it can't do is rerun the query over the entire corpus to find semantically relevant results. Semantic search re-ranks the *existing* result set, consisting of the top 50 results as scored by the default ranking algorithm. Furthermore, semantic search cannot create new information or strings. Captions and answers are extracted verbatim from your content so if the results do not include answer-like text, the language models will not produce one.
81+
What it can't do is rerun the query over the entire corpus to find semantically relevant results. Semantic search re-ranks the *existing* result set, consisting of the top 50 results as scored by the default ranking algorithm. Furthermore, semantic search can't create new information or strings. Captions and answers are extracted verbatim from your content so if the results don't include answer-like text, the language models won't produce one.
7682

77-
Although semantic search is not beneficial in every scenario, certain content can benefit significantly from its capabilities. The language models in semantic search work best on searchable content that is information-rich and structured as prose. A knowledge base, online documentation, or documents that contain descriptive content see the most gains from semantic search capabilities.
83+
Although semantic search isn't beneficial in every scenario, certain content can benefit significantly from its capabilities. The language models in semantic search work best on searchable content that is information-rich and structured as prose. A knowledge base, online documentation, or documents that contain descriptive content see the most gains from semantic search capabilities.
7884

7985
## Availability and pricing
8086

@@ -85,11 +91,11 @@ Semantic search and spell check are available on services that meet the criteria
8591
| Semantic search | Standard tier (S1, S2, S3, S3 HD), Storage Optimized tier (L1, L2) | [Region availability](https://azure.microsoft.com/global-infrastructure/services/?products=search)| Required | [Pricing](https://azure.microsoft.com/pricing/details/search/) <sup>1</sup>|
8692
| Spell check | Basic <sup>2</sup> and above | All | None | None (free) |
8793

88-
<sup>1</sup> On the pricing page, scroll down to view additional features that are billed separately. At lower query volumes (under 1000 monthly), semantic search is free. To go above that limit, you can opt in to the semantic search standard pricing plan. The pricing page shows you the semantic query billing rate for different currencies and intervals.
94+
<sup>1</sup> On the pricing page, scroll down to view more features that are billed separately. At lower query volumes (under 1000 monthly), semantic search is free. To go above that limit, you can opt in to the semantic search standard pricing plan. The pricing page shows you the semantic query billing rate for different currencies and intervals.
8995

90-
<sup>2</sup> Due to the provisioning mechanisms and lifespan of shared (free) search services, a small number of services happen to have spell check on the free tier. However, spell check availability on free tier services is not guaranteed and should not be expected.
96+
<sup>2</sup> Due to the provisioning mechanisms and lifespan of shared (free) search services, a few services happen to have spell check on the free tier. However, spell check availability on free tier services isn't guaranteed and shouldn't be expected.
9197

92-
Charges for semantic search are levied when query requests include "queryType=semantic" and the search string is not empty (for example, "search=pet friendly hotels in New York". If your search string is empty ("search=*"), you won't be charged, even if the queryType is set to "semantic".
98+
Charges for semantic search are levied when query requests include "queryType=semantic" and the search string isn't empty (for example, "search=pet friendly hotels in New York". If your search string is empty ("search=*"), you won't be charged, even if the queryType is set to "semantic".
9399

94100
## Enable semantic search
95101

@@ -103,7 +109,7 @@ By default, semantic search is disabled on all services. To enable semantic sear
103109

104110
:::image type="content" source="media/semantic-search-overview/semantic-search-billing.png" alt-text="Screenshot of enabling semantic search in the Azure portal" border="true":::
105111

106-
Semantic Search's free plan is capped at 1,000 queries per month. After the first 1,000 queries in the free plan, you'll receive an error message letting you know you've exhausted your quota whenever you issue a semantic query. When this happens, you'll need to upgrade to the standard plan to continue using semantic search.
112+
Semantic Search's free plan is capped at 1,000 queries per month. After the first 1,000 queries in the free plan, you'll receive an error message letting you know you've exhausted your quota whenever you issue a semantic query. When this happens, you need to upgrade to the standard plan to continue using semantic search.
107113

108114
Alternatively, you can also enable semantic search using the [Create or Update Service API](/rest/api/searchmanagement/2021-04-01-preview/services/create-or-update#searchsemanticsearch) that's described in the next section.
109115

0 commit comments

Comments
 (0)