Skip to content

Commit 38f8919

Browse files
authored
Fix functionAggregation
functionAggregation doesn't exactly come under "functions" in the json, which might cause confusion. Also it might help to take out defaultScoringProfile from this table.
1 parent af15c0a commit 38f8919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Use functions when simple relative weights are insufficient or don't apply, as i
292292
| functions > distance > boostingDistance | A number that indicates the distance in kilometers from the reference location where the boosting range ends.|
293293
| functions > tag | The tag scoring function is used to affect the score of documents based on tags in documents and search queries. Documents that have tags in common with the search query will be boosted. The tags for the search query are provided as a scoring parameter in each search request (using the scoringParameter query parameter). |
294294
| functions > tag > tagsParameter | A parameter to be passed in queries to specify tags for a particular request (using the scoringParameter query parameter). See [Search Documents (REST API)](/rest/api/searchservice/Search-Documents) for descriptions of query parameters.|
295-
| functions > functionAggregation | Optional. Applies only when functions are specified. Valid values include: sum (default), average, minimum, maximum, and firstMatching. A search score is single value that is computed from multiple variables, including multiple functions. This attribute indicates how the boosts of all the functions are combined into a single aggregate boost that then is applied to the base document score. The base score is based on the [tf-idf](http://www.tfidf.com/) value computed from the document and the search query.|
295+
| functionAggregation | Optional. Applies only when functions are specified. Valid values include: sum (default), average, minimum, maximum, and firstMatching. A search score is single value that is computed from multiple variables, including multiple functions. This attribute indicates how the boosts of all the functions are combined into a single aggregate boost that then is applied to the base document score. The base score is based on the [tf-idf](http://www.tfidf.com/) value computed from the document and the search query.|
296296
| defaultScoringProfile | When executing a search request, if no scoring profile is specified, then default scoring is used ([tf-idf](http://www.tfidf.com/) only). </br></br>You can override the built-in default, substituting a custom profile as the one to use when no specific profile is given in the search request.|
297297

298298
<a name="bkmk_interpolation"></a>

0 commit comments

Comments
 (0)