4 instantiations of HybridSearchOptions
Microsoft.Extensions.VectorData.ConformanceTests (4)
HybridSearchTests.cs (4)
49
new
() { Filter = r => r.Code == 1 })
82
var results = await vectorAndStringFixture.HybridSearchable.HybridSearchAsync(vector, ["healthy"], top: 3,
new
() { Skip = 2 }).ToListAsync();
115
.HybridSearchAsync(vector, ["Apples"], top: 4,
new
() { AdditionalProperty = r => r.Text2 })
118
.HybridSearchAsync(vector, ["Oranges"], top: 4,
new
() { AdditionalProperty = r => r.Text2 })
3 references to HybridSearchOptions
Microsoft.Extensions.VectorData.Abstractions (3)
HybridSearchOptions.cs (2)
26
/// If this property isn't set, <see cref="IKeywordHybridSearchable{TRecord}.HybridSearchAsync{TInput}(TInput, System.Collections.Generic.ICollection{string}, int, Microsoft.Extensions.VectorData.
HybridSearchOptions
{TRecord}?, System.Threading.CancellationToken)"/> checks if there is a vector property to use by default, and
36
/// If this property isn't set, <see cref="IKeywordHybridSearchable{TRecord}.HybridSearchAsync{TInput}(TInput, System.Collections.Generic.ICollection{string}, int, Microsoft.Extensions.VectorData.
HybridSearchOptions
{TRecord}?, System.Threading.CancellationToken)"/> checks if there is a text property with full text indexing enabled, and
IKeywordHybridSearchable.cs (1)
61
HybridSearchOptions
<TRecord>? options = default,