Skip to content

Commit 784f4e0

Browse files
committed
fixed validation, key points list
1 parent 867b424 commit 784f4e0

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

articles/search/index-add-scoring-profiles.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,25 @@ ms.date: 09/23/2024
1515

1616
# Add scoring profiles to boost search scores
1717

18-
In this article, learn how to specify and assign a scoring profile that boosts a search score based on parameters that you provide. Scoring profile parameters are either:
18+
In this article, learn how to specify and assign a scoring profile that boosts a search score based on parameters that you provide.
1919

20-
+ Weighted fields, where a match is found in a specific string field. For example, you might want matches found in a "summary" field to be more relevant than the same match found in a "content" field.
20+
## Key points about scoring profiles
2121

22-
+ Functions for numeric data, including dates, ranges, and geographic coordinates. There's also a Tags function that operates on string fields. You can choose this approach over weighted fields if you want to boost a score based on whether a match is found in a tags field (an arbitrary collection of strings).
22+
Scoring profile parameters are either:
2323

24-
> [!NOTE]
25-
> Unfamiliar with relevance concepts? The following [video segment on YouTube](https://www.youtube.com/embed/Y_X6USgvB1g?version=3&start=463&end=970) fast-forwards to how scoring profiles work in Azure AI Search. You can also visit [Relevance and scoring in Azure AI Search](index-similarity-and-scoring.md) for more background.
26-
>
24+
+ Weighted fields, where a match is found in a specific string field. For example, you might want matches found in a "summary" field to be more relevant than the same match found in a "content" field.
2725

28-
## Key points about scoring profiles
26+
+ Functions for numeric data, including dates, ranges, and geographic coordinates. There's also a Tags function that operates on a field providing an arbitrary collection of strings. You can choose this approach over weighted fields if you want to boost a score based on whether a match is found in a tags field.
27+
28+
You can use scoring profiles for keyword search, vector search, and hybrid search. However, scoring profiles only apply to nonvector fields, so make sure your index has text or numeric fields that can be used in a scoring profile. Support for vector and hybrid search is available in 2024-05-01-preview and 2024-07-01 REST APIs and in Azure SDK packages that targeting those releases.
2929

30-
+ You can use scoring profiles for keyword search, vector search, and hybrid search. However, iscoring profiles only apply to nonvector fields in the index, so make sure your index has text or numeric fields that can be used in a scoring profile. Support for vector and hybrid search is available in 2024-05-01-preview and 2024-07-01 REST APIs and in Azure SDK packages that target those releases.
30+
You can create multiple profiles and then modify query logic to choose which one is used.
3131

32-
+ You can create multiple profiles and then modify query logic to choose which one is used.
32+
You can have up to 100 scoring profiles within an index (see [service Limits](search-limits-quotas-capacity.md)), but you can only specify one profile at time in any given query.
3333

34-
+ You can have up to 100 scoring profiles within an index (see [service Limits](search-limits-quotas-capacity.md)), but you can only specify one profile at time in any given query.
34+
> [!NOTE]
35+
> Unfamiliar with relevance concepts? The following [video segment on YouTube](https://www.youtube.com/embed/Y_X6USgvB1g?version=3&start=463&end=970) fast-forwards to how scoring profiles work in Azure AI Search. You can also visit [Relevance and scoring in Azure AI Search](index-similarity-and-scoring.md) for more background.
36+
>
3537
3638
## Scoring profile definition
3739

@@ -158,7 +160,7 @@ Use functions when simple relative weights are insufficient or don't apply, as i
158160

159161
## Template
160162

161-
This section shows the syntax and template for scoring profiles. For a description of properties, see the [REST API reference](/rest/api/searchservice/indexes/create?view=rest-searchservice-2024-07-01&preservice-view=true#scoringfunctionaggregation).
163+
This section shows the syntax and template for scoring profiles. For a description of properties, see the [REST API reference](/rest/api/searchservice/indexes/create?view=rest-searchservice-2024-07-01&preserve-view=true#scoringfunctionaggregation).
162164

163165
```json
164166
"scoringProfiles": [

0 commit comments

Comments
 (0)