object SearchQuery

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SearchQuery
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def boolean: BooleanQuery

    A compound FTS query that allows various combinations of sub-queries.

  6. def booleanField(value: Boolean): BooleanFieldQuery

    An FTS query that queries fields explicitly indexed as boolean.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def conjuncts(queries: SearchQuery*): ConjunctionQuery

    A compound FTS query that performs a logical AND between all its sub-queries (conjunction).

  9. 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.

  10. 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).

  11. 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.

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. 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

  15. 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"

  16. def geoPolygon(coordinates: Seq[Coordinate]): GeoPolygonQuery
    Annotations
    @SinceCouchbase()
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def matchAll: MatchAllQuery

    An FTS query that matches all indexed documents (usually for debugging purposes).

  21. def matchNone: MatchNoneQuery

    An FTS query that matches 0 document (usually for debugging purposes).

  22. 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.

  23. 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

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. 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.

  28. 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.

  29. def prefix(prefix: String): PrefixQuery

    An FTS query that allows for simple matching on a given prefix.

  30. 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.

  31. 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.

  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def term(term: String): TermQuery

    Prepare a TermQuery body.

  34. 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.

  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. def wildcard(wildcard: String): WildcardQuery

    An FTS query that allows for simple matching using wildcard characters (* and ?).

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped