-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
HybridSearch.cs
32 lines (27 loc) · 2.37 KB
/
HybridSearch.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Search.Documents.Models
{
/// <summary> TThe query parameters to configure hybrid search behaviors. </summary>
public partial class HybridSearch
{
/// <summary> Initializes a new instance of <see cref="HybridSearch"/>. </summary>
public HybridSearch()
{
}
/// <summary> Initializes a new instance of <see cref="HybridSearch"/>. </summary>
/// <param name="maxTextRecallSize"> Determines the maximum number of documents to be retrieved by the text query portion of a hybrid search request. Those documents will be combined with the documents matching the vector queries to produce a single final list of results. Choosing a larger maxTextRecallSize value will allow retrieving and paging through more documents (using the top and skip parameters), at the cost of higher resource utilization and higher latency. The value needs to be between 1 and 10,000. Default is 1000. </param>
/// <param name="countAndFacetMode"> Determines whether the count and facets should includes all documents that matched the search query, or only the documents that are retrieved within the 'maxTextRecallSize' window. </param>
internal HybridSearch(int? maxTextRecallSize, HybridCountAndFacetMode? countAndFacetMode)
{
MaxTextRecallSize = maxTextRecallSize;
CountAndFacetMode = countAndFacetMode;
}
/// <summary> Determines the maximum number of documents to be retrieved by the text query portion of a hybrid search request. Those documents will be combined with the documents matching the vector queries to produce a single final list of results. Choosing a larger maxTextRecallSize value will allow retrieving and paging through more documents (using the top and skip parameters), at the cost of higher resource utilization and higher latency. The value needs to be between 1 and 10,000. Default is 1000. </summary>
public int? MaxTextRecallSize { get; set; }
/// <summary> Determines whether the count and facets should includes all documents that matched the search query, or only the documents that are retrieved within the 'maxTextRecallSize' window. </summary>
public HybridCountAndFacetMode? CountAndFacetMode { get; set; }
}
}