C# Класс Couchbase.Search.SearchParams

Represents a number of query options that can be applied to a FTS query request.
Наследование: ISearchParams
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Explain ( bool explain ) : ISearchParams

If true, the response will include additional search score explanations.

Facets ( ) : ISearchParams

ISearchFacets used to aggregate information collected on a particluar result set.

Fields ( ) : ISearchParams

List of fields values that should be returned in the result assuming that they were indexed.

Highlighting ( HighLightStyle highLightStyle ) : ISearchParams

Allows setting of additional highlighting on the result set of matching terms.

Limit ( int limit ) : ISearchParams

Limits the number of matching results from a returned result-set.

Skip ( int skip ) : ISearchParams

Skip indicates how many matching results to skip on the result set before returing matches.

Sort ( ) : ISearchParams

Configures the list of fields which are used for sorting the search result. Fields with a prefix of "-" indicate a decending 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.

Timeout ( System.TimeSpan timeout ) : ISearchParams

The server side timeout allows to specify an upper boundary of request execution so that it potentially doesn't run infinitely.

ToJson ( ) : Newtonsoft.Json.Linq.JObject
ToString ( ) : string

Returns a System.String that represents this instance.

WithConsistency ( ScanConsistency consistency ) : ISearchParams

The ScanConsistency you require for you ISearchQueryResults.

Описание методов

Explain() публичный Метод

If true, the response will include additional search score explanations.
public Explain ( bool explain ) : ISearchParams
explain bool
Результат ISearchParams

Facets() публичный Метод

ISearchFacets used to aggregate information collected on a particluar result set.
public Facets ( ) : ISearchParams
Результат ISearchParams

Fields() публичный Метод

List of fields values that should be returned in the result assuming that they were indexed.
public Fields ( ) : ISearchParams
Результат ISearchParams

Highlighting() публичный Метод

Allows setting of additional highlighting on the result set of matching terms.
public Highlighting ( HighLightStyle highLightStyle ) : ISearchParams
highLightStyle HighLightStyle The to use.
Результат ISearchParams

Limit() публичный Метод

Limits the number of matching results from a returned result-set.
public Limit ( int limit ) : ISearchParams
limit int
Результат ISearchParams

Skip() публичный Метод

Skip indicates how many matching results to skip on the result set before returing matches.
public Skip ( int skip ) : ISearchParams
skip int
Результат ISearchParams

Sort() публичный Метод

Configures the list of fields which are used for sorting the search result. Fields with a prefix of "-" indicate a decending 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 Sort ( ) : ISearchParams
Результат ISearchParams

Timeout() публичный Метод

The server side timeout allows to specify an upper boundary of request execution so that it potentially doesn't run infinitely.
public Timeout ( System.TimeSpan timeout ) : ISearchParams
timeout System.TimeSpan The max length of time that that will be given to execute the query.
Результат ISearchParams

ToJson() публичный Метод

public ToJson ( ) : Newtonsoft.Json.Linq.JObject
Результат Newtonsoft.Json.Linq.JObject

ToString() публичный Метод

Returns a System.String that represents this instance.
public ToString ( ) : string
Результат string

WithConsistency() публичный Метод

The ScanConsistency you require for you ISearchQueryResults.
public WithConsistency ( ScanConsistency consistency ) : ISearchParams
consistency ScanConsistency The for documents to be included in the query results.
Результат ISearchParams