Click or drag to resize

SearchOptions Class

Represents a number of query options that can be applied to a FTS query request.
Inheritance Hierarchy
SystemObject
  Couchbase.SearchSearchOptions

Namespace:  Couchbase.Search
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public class SearchOptions

The SearchOptions type exposes the following members.

Constructors
  NameDescription
Public methodSearchOptions
Initializes a new instance of the SearchOptions class
Top
Methods
  NameDescription
Public methodCancellationToken
Public methodConsistentWith
Public methodExplain
If true, the response will include additional search score explanations.
Public methodFacets
ISearchFacets used to aggregate information collected on a particular result set.
Public methodFields
List of fields values that should be returned in the result assuming that they were indexed.
Public methodHighlight(HighLightStyle)
Allows setting of additional highlighting on the result set of matching terms.
Public methodHighlight(HighLightStyle, String)
Allows setting of additional highlighting on the result set of matching terms.
Public methodLimit
Limits the number of matching results from a returned result-set.
Public methodRaw
Public methodScanConsistency
The SearchScanConsistency you require for you ISearchResults.
Public methodSkip
Skip indicates how many matching results to skip on the result set before returning matches.
Public methodSort(JObject)
Configures the sorting criteria for the search results using a custom JObject.
Public methodSort(String)
Configures the list of fields which are used for sorting the search result. Fields with a prefix of "-" indicate a descending nature. If no sort is provided, it is equal to sort("-_score"), since the server will sort it by score in descending order by default.
Public methodSort(ISearchSort)
Configures the sorting criteria for the search results using an implementation of ISearchSort.
Public methodTimeout
The server side timeout allows to specify an upper boundary of request execution so that it potentially doesn't run infinitely.
Public methodToJson
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
See Also