Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class WildcardQuery

A wildcard query is a query in which term the character * will match 0..n occurrences of any characters and ? will match 1 occurrence of any character.

Inheritance
object
SearchQueryBase
WildcardQuery
Implements
ISearchQuery
Inherited Members
SearchQueryBase.IndexName
SearchQueryBase.Query
SearchQueryBase.Boost(double)
SearchQueryBase.BoostValue
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Search.Queries.Simple
Assembly: Couchbase.NetClient.dll
Syntax
public class WildcardQuery : SearchQueryBase, ISearchQuery

Constructors

View Source

WildcardQuery(string)

Declaration
public WildcardQuery(string wildcard)
Parameters
Type Name Description
string wildcard

Methods

View Source

AsReadOnly()

Declaration
public WildcardQuery.ReadOnly AsReadOnly()
Returns
Type Description
WildcardQuery.ReadOnly
View Source

Deconstruct(out string, out string)

Declaration
public void Deconstruct(out string wildCard, out string field)
Parameters
Type Name Description
string wildCard
string field
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 override JObject Export()
Returns
Type Description
JObject
Overrides
SearchQueryBase.Export()
View Source

Field(string)

The field for the match.

Declaration
public WildcardQuery Field(string field)
Parameters
Type Name Description
string field

The field.

Returns
Type Description
WildcardQuery

Implements

ISearchQuery

See Also

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