Skip to content

Commit b2c84a4

Browse files
author
Bruce Johnston
committed
[Search] Fix more capitalization and formatting issues
1 parent b27f356 commit b2c84a4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ translation.priority.mt:
3232
To give you an idea of what a scoring profile looks like, the following example shows a simple profile named 'geo'. This one boosts items that have the search term in the **hotelName** field. It also uses the `distance` function to favor items that are within ten kilometers of the current location. If someone searches on the term 'inn', and 'inn' happens to be part of the hotel name, documents that include hotels with 'inn' within a 10 KM radius of the current location will appear higher in the search results.
3333

3434

35-
```
35+
```json
3636
"scoringProfiles": [
3737
{
3838
"name":"geo",
@@ -87,7 +87,7 @@ The search score is computed based on statistical properties of the data and the
8787

8888
This example shows the schema of an index with two scoring profiles (`boostGenre`, `newAndHighlyRated`). Any query against this index that includes either profile as a query parameter will use the profile to score the result set.
8989

90-
```
90+
```json
9191
{
9292
"name": "musicstoreindex",
9393
"fields": [
@@ -256,10 +256,10 @@ The search score is computed based on statistical properties of the data and the
256256

257257
|||
258258
|-|-|
259-
|`Linear`|For items that are within the max and min range, the boost applied to the item will be done in a constantly decreasing amount. Linear is the default interpolation for a scoring profile.|
260-
|`Constant`|For items that are within the start and ending range, a constant boost will be applied to the rank results.|
261-
|`Quadratic`|In comparison to a Linear interpolation that has a constantly decreasing boost, Quadratic will initially decrease at smaller pace and then as it approaches the end range, it decreases at a much higher interval. This interpolation option is not allowed in tag scoring functions.|
262-
|`Logarithmic`|In comparison to a Linear interpolation that has a constantly decreasing boost, Logarithmic will initially decrease at higher pace and then as it approaches the end range, it decreases at a much smaller interval. This interpolation option is not allowed in tag scoring functions.|
259+
|`linear`|For items that are within the max and min range, the boost applied to the item will be done in a constantly decreasing amount. Linear is the default interpolation for a scoring profile.|
260+
|`constant`|For items that are within the start and ending range, a constant boost will be applied to the rank results.|
261+
|`quadratic`|In comparison to a Linear interpolation that has a constantly decreasing boost, Quadratic will initially decrease at smaller pace and then as it approaches the end range, it decreases at a much higher interval. This interpolation option is not allowed in tag scoring functions.|
262+
|`logarithmic`|In comparison to a Linear interpolation that has a constantly decreasing boost, Logarithmic will initially decrease at higher pace and then as it approaches the end range, it decreases at a much smaller interval. This interpolation option is not allowed in tag scoring functions.|
263263

264264
![Constant, linear, quadratic, log10 lines on graph](media/scoring-profiles/azuresearch_scorefunctioninterpolationgrapht.png "AzureSearch_ScoreFunctionInterpolationGrapht")
265265

0 commit comments

Comments
 (0)