Class SearchRequest
A top-level SearchRequest, encompassing all Search sub-request types, including FTS and VectorSearch.
Inheritance
SearchRequest
Assembly: Couchbase.NetClient.dll
Syntax
[InterfaceStability(Level.Committed)]
public sealed record SearchRequest : IEquatable<SearchRequest>
Constructors
|
Edit this page
View Source
SearchRequest(ISearchQuery?, VectorSearch?)
A top-level SearchRequest, encompassing all Search sub-request types, including FTS and VectorSearch.
Declaration
public SearchRequest(ISearchQuery? SearchQuery = null, VectorSearch? VectorSearch = null)
Parameters
Properties
|
Edit this page
View Source
Scope
Declaration
public IScope? Scope { get; init; }
Property Value
|
Edit this page
View Source
SearchQuery
Declaration
public ISearchQuery? SearchQuery { get; init; }
Property Value
|
Edit this page
View Source
VectorSearch
Declaration
public VectorSearch? VectorSearch { get; init; }
Property Value
Methods
|
Edit this page
View Source
Create(ISearchQuery)
Declaration
public static SearchRequest Create(ISearchQuery searchQuery)
Parameters
Returns
|
Edit this page
View Source
Create(VectorSearch)
Declaration
public static SearchRequest Create(VectorSearch vectorSearch)
Parameters
Returns
|
Edit this page
View Source
WithSearchQuery(ISearchQuery)
Declaration
public SearchRequest WithSearchQuery(ISearchQuery searchQuery)
Parameters
Returns
|
Edit this page
View Source
WithVectorSearch(VectorSearch)
Declaration
public SearchRequest WithVectorSearch(VectorSearch vectorSearch)
Parameters
Returns
Implements