object SearchQuery
- Alphabetic
- By Inheritance
- SearchQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def boolean: BooleanQuery
A compound FTS query that allows various combinations of sub-queries.
- def booleanField(value: Boolean): BooleanFieldQuery
An FTS query that queries fields explicitly indexed as boolean.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def conjuncts(queries: SearchQuery*): ConjunctionQuery
A compound FTS query that performs a logical AND between all its sub-queries (conjunction).
- def dateRange: DateRangeQuery
An FTS query that matches documents on a range of dates.
An FTS query that matches documents on a range of dates. At least one bound is required, and the parser to use for the date (in
String
form) can be customized. - def disjuncts(queries: SearchQuery*): DisjunctionQuery
A compound FTS query that performs a logical OR between all its sub-queries (disjunction).
A compound FTS query that performs a logical OR between all its sub-queries (disjunction). It requires that a configurable minimum of the queries match (the default is 1).
- def docId(docIds: String*): DocIdQuery
An FTS query that matches on Couchbase document IDs.
An FTS query that matches on Couchbase document IDs. Useful to restrict the search space to a list of keys (by using this in an AbstractCompoundQuery compound query).
- docIds
list of document IDs to be restricted against. At least one ID is required.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def geoBoundingBox(topLeftLon: Double, topLeftLat: Double, bottomRightLon: Double, bottomRightLat: Double): GeoBoundingBoxQuery
An FTS query which finds all matches within a given box (identified by the upper left and lower right corner coordinates).
An FTS query which finds all matches within a given box (identified by the upper left and lower right corner coordinates).
- topLeftLon
the longitude of the top-left point of the box
- topLeftLat
the latitude of the top-left point of the box
- bottomRightLon
the longitude of the bottom-right point of the box
- bottomRightLat
the latitude of the bottom-right point of the box
- def geoDistance(locationLon: Double, locationLat: Double, distance: String): GeoDistanceQuery
An FTS query that finds all matches from a given location (point) within the given distance.
An FTS query that finds all matches from a given location (point) within the given distance.
- locationLon
the location's longitude
- locationLat
the location's latitude
- distance
the distance to search from the location, e.g. "10mi"
- def geoPolygon(coordinates: Seq[Coordinate]): GeoPolygonQuery
- Annotations
- @SinceCouchbase()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def matchAll: MatchAllQuery
An FTS query that matches all indexed documents (usually for debugging purposes).
- def matchNone: MatchNoneQuery
An FTS query that matches 0 document (usually for debugging purposes).
- def matchPhrase(matchPhrase: String): MatchPhraseQuery
An FTS query that matches several given terms (a "phrase"), applying further processing like analyzers to them.
An FTS query that matches several given terms (a "phrase"), applying further processing like analyzers to them.
- matchPhrase
The input phrase to be matched against.
- def matchQuery(matchStr: String): MatchQuery
An FTS query that matches a given term, applying further processing to it like analyzers, stemming and even fuzziness.
An FTS query that matches a given term, applying further processing to it like analyzers, stemming and even fuzziness.
- matchStr
input string to be matched against.
- Since
1.0.0
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def numericRange: NumericRangeQuery
An FTS query that matches documents on a range of values.
An FTS query that matches documents on a range of values. At least one bound is required, and the inclusiveness of each bound can be configured.
- def phrase(terms: String*): PhraseQuery
An FTS query that matches several terms (a "phrase") as is.
An FTS query that matches several terms (a "phrase") as is. The order of the terms matter and no further processing is applied to them, so they must appear in the index exactly as provided. Usually for debugging purposes, prefer MatchPhraseQuery.
- terms
The mandatory list of terms that must exactly match in the index. Must contain at least one term.
- def prefix(prefix: String): PrefixQuery
An FTS query that allows for simple matching on a given prefix.
- def queryString(query: String): QueryStringQuery
An FTS query that performs a search according to the "query string" syntax.
An FTS query that performs a search according to the "query string" syntax.
- query
The query string to be analyzed and used against.
- def regexp(regexp: String): RegexpQuery
An FTS query that allows for simple matching of regular expressions.
An FTS query that allows for simple matching of regular expressions.
- regexp
The regexp to be analyzed and used against.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def term(term: String): TermQuery
Prepare a TermQuery body.
- def termRange: TermRangeQuery
An FTS query that matches documents on a range of values.
An FTS query that matches documents on a range of values. At least one bound is required, and the inclusiveness of each bound can be configured.
At least one of min and max must be provided.
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def wildcard(wildcard: String): WildcardQuery
An FTS query that allows for simple matching using wildcard characters (* and ?).
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated