Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class SearchQueryBase

Base class for ISearchQuery implementations.

Inheritance
object
SearchQueryBase
BooleanQuery
ConjunctionQuery
DisjunctionQuery
GeoBoundingBoxQuery
GeoDistanceQuery
GeoPolygonQuery
DateRangeQuery
NumericRangeQuery
TermRangeQuery
BooleanFieldQuery
DocIdQuery
MatchAllQuery
MatchNoneQuery
MatchPhraseQuery
MatchQuery
PhraseQuery
PrefixQuery
QueryStringQuery
RegexpQuery
TermQuery
WildcardQuery
Implements
ISearchQuery
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Search.Queries
Assembly: Couchbase.NetClient.dll
Syntax
public abstract class SearchQueryBase : ISearchQuery

Constructors

View Source

SearchQueryBase()

Declaration
protected SearchQueryBase()

Fields

View Source

IndexName

Declaration
protected string IndexName
Field Value
Type Description
string
View Source

Query

Declaration
protected string Query
Field Value
Type Description
string

Properties

View Source

BoostValue

Declaration
public float BoostValue { get; }
Property Value
Type Description
float

Methods

View Source

Boost(double)

Used to increase the relative weight of a clause (with a boost greater than 1) or decrease the relative weight (with a boost between 0 and 1).

Declaration
public ISearchQuery Boost(double boost)
Parameters
Type Name Description
double boost
Returns
Type Description
ISearchQuery
View Source

Export()

Gets a JSON object representing this query instance />

Declaration
[RequiresUnreferencedCode("Couchbase FTS might require types that cannot be statically analyzed. Make sure all required types are preserved.")]
[RequiresDynamicCode("Couchbase FTS might require types that cannot be statically analyzed and might need runtime code generation. Do not use for native AOT applications.")]
public virtual JObject Export()
Returns
Type Description
JObject

Implements

ISearchQuery

See Also

ISearchQuery
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.