Companion
Functions
Link copied to clipboard
@SinceCouchbase(value = "7.6" )
Content copied to clipboard
@SinceCouchbase(value = "7.6" )
Content copied to clipboard
Combines vector queries using logical AND.
Link copied to clipboard
@SinceCouchbase(value = "7.6" )
Content copied to clipboard
@SinceCouchbase(value = "7.6" )
Content copied to clipboard
Combines vector queries using logical OR.
Link copied to clipboard
fun boolean(must: ConjunctionQuery? = null, should: DisjunctionQuery? = null, mustNot: DisjunctionQuery? = null): SearchQuery
Content copied to clipboard
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
Content copied to clipboard
Link copied to clipboard
fun disjunction(disjuncts: List<SearchQuery>, min: Int = 1): DisjunctionQuery
Content copied to clipboard
fun disjunction(firstDisjunct: SearchQuery, vararg remainingDisjuncts: SearchQuery, min: Int = 1): DisjunctionQuery
Content copied to clipboard
Link copied to clipboard
A DocId query. Searches for documents whose ID is one of ids.
Link copied to clipboard
fun geoDistance(location: GeoPoint, distance: GeoDistance, field: String = "_all"): SearchQuery
Content 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
Content copied to clipboard
A Match query.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun matchPhrase(matchPhrase: String, field: String = "_all", analyzer: String? = null): SearchQuery
Content copied to clipboard
Link copied to clipboard
@SinceCouchbase(value = "7.6" )
Content copied to clipboard
Combines the non-vector searchQuery with a vector query, using logical OR.
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
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SinceCouchbase(value = "7.6" )
Content copied to clipboard
A Vector query, with the vector specified as a FloatArray.
@SinceCouchbase(value = "7.6.2" )
Content copied to clipboard
A Vector query, with the vector specified as a Base64-encoded sequence of little-endian IEEE 754 floats.
Link copied to clipboard