Companion
object Companion
Functions
Link copied to clipboard
fun boolean(must: ConjunctionQuery? = null, should: DisjunctionQuery? = null, mustNot: DisjunctionQuery? = null): SearchQuery
Link copied to clipboard
A Boolean Field query. Searches for documents where field has the value bool.
Link copied to clipboard
fun conjunction(firstConjunct: SearchQuery, vararg remainingConjuncts: SearchQuery): ConjunctionQuery
Link copied to clipboard
Escape hatch for specifying a custom query condition supported by Couchbase Server but not by this version of the SDK.
Link copied to clipboard
fun disjunction(firstDisjunct: SearchQuery, vararg remainingDisjuncts: SearchQuery, min: Int = 1): DisjunctionQuery
Link copied to clipboard
A DocId query. Searches for documents whose ID is one of ids.
Link copied to clipboard
Link copied to clipboard
A Geo Bounded Rectangle query or Geo Bounded Polygon query. May also be used with GeoCircle.
Link copied to clipboard
fun match(match: String, field: String = "_all", analyzer: String? = null, operator: SearchQuery.Companion.MatchOperator = MatchOperator.OR, fuzziness: Int = 0, prefixLength: Int = 0): SearchQuery
A Match query.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Searches for documents that don't match query.
Link copied to clipboard
fun numericRange(field: String = "_all", min: Number? = null, inclusiveMin: Boolean = true, max: Number? = null, inclusiveMax: Boolean = false): SearchQuery
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard