Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Namespace Couchbase.Search.Queries.Simple

Classes

BooleanFieldQuery

A boolean field query matches documents which have a boolean field which corresponds to the requested boolean value.

BooleanFieldQuery.ReadOnly

DocIdQuery

A docId query is a query that directly matches the documents whose ID have been provided. It can be combined within a ConjunctionQuery to restrict matches on the set of documents.

DocIdQuery.ReadOnly

MatchAllQuery

A match all query matches all documents in the index. It can take search parameters as other queries, so this can be restricted (eg. with limit).

MatchNoneQuery

A match none query doesn't match any document in the index.

MatchPhraseQuery

A match query searches for terms occurring in the specified positions and offsets. The input text is analyzed and a phrase query is built with the terms resulting from the analysis. This depends on term vectors, which are consulted to determine phrase distance.

MatchPhraseQuery.ReadOnly

MatchQuery

A query that analyzes the input text and uses that analyzed text to query the index.

MatchQuery.ReadOnly

PhraseQuery

The phrase query allows to query for exact term phrases in the index. The provided terms must exist in the correct order, at the correct index offsets, in the specified field (as no analyzer are applied to the terms). Queried field must have been indexed with includeTermVectors set to true. It is generally more useful in debugging scenarios, and the Match Phrase Query should usually be preferred for real-world use cases.

PhraseQuery.ReadOnly

PrefixQuery

The prefix query finds documents containing terms that start with the provided prefix.

PrefixQuery.ReadOnly

QueryStringQuery

The query string query allows humans to describe complex queries using a simple syntax.

QueryStringQuery.ReadOnly

RegexpQuery

Regexp query finds documents containing terms that match the specified regular expression.

RegexpQuery.ReadOnly

TermQuery

A term query is a query that may be "fuzzy" and matches terms within a specified edit distance (Levenshtein distance). Also, you can optionally specify that the term must have a matching prefix of the specified length.

TermQuery.ReadOnly

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.

WildcardQuery.ReadOnly

Enums

MatchOperator

Specifies how the individual match terms should be logically concatenated.

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