trait QueryApi extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryApi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class CommonQueryExpectsText extends AnyRef
  2. class GeoDistanceExpectsDistance extends AnyRef
  3. class GeoPolygonExpectsPoints extends AnyRef
  4. class HasChildQueryExpectsQuery extends AnyRef
  5. class HasParentQueryExpectsQuery extends AnyRef
  6. class MoreLikeThisExpectsLikes extends AnyRef
  7. class NestedQueryExpectsQuery extends AnyRef
  8. class PercolateExpectsUsing extends AnyRef
  9. class SpanFirstExpectsEnd extends AnyRef
  10. class GeoDistanceExpectsPoint extends AnyRef
    Annotations
    @deprecated
    Deprecated

    (Since version 6.1.2) use geoDistanceQuery(field, hash) or geoDistanceQuery(field, lat, long)

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 bool(mustQueries: Seq[Query], shouldQueries: Seq[Query], notQueries: Seq[Query]): BoolQuery
  6. def boolQuery(): BoolQuery
  7. def boostingQuery(positiveQuery: Query, negativeQuery: Query): BoostingQuery
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def commonTermsQuery(field: String, text: String): CommonTermsQuery
  10. def commonTermsQuery(field: String): CommonQueryExpectsText
  11. def constantScoreQuery(query: Query): ConstantScore
  12. def dismax(queries: Iterable[Query]): DisMaxQuery
  13. def dismax(first: Query, rest: Query*): DisMaxQuery
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def existsQuery(field: String): ExistsQuery
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def functionScoreQuery(query: Query): FunctionScoreQuery
  19. def functionScoreQuery(): FunctionScoreQuery
  20. def fuzzyQuery(field: String, value: String): FuzzyQuery
  21. def geoBoxQuery(field: String, topleft: String, bottomright: String): GeoBoundingBoxQuery
  22. def geoBoxQuery(field: String): GeoBoundingBoxQuery
  23. def geoDistanceQuery(field: String, lat: Double, long: Double): GeoDistanceQuery
  24. def geoDistanceQuery(field: String, geohash: String): GeoDistanceQuery
  25. def geoDistanceQuery(field: String): GeoDistanceExpectsPoint
  26. def geoHashCell(field: String, point: GeoPoint): GeoHashCellQuery
  27. def geoHashCell(field: String, geohash: String): GeoHashCellQuery
  28. def geoPolygonQuery(field: String, points: Iterable[GeoPoint]): GeoPolygonQuery
  29. def geoPolygonQuery(field: String, first: GeoPoint, rest: GeoPoint*): GeoPolygonQuery
  30. def geoPolygonQuery(field: String): GeoPolygonExpectsPoints
  31. def geoShapeQuery(field: String, shape: Shape): GeoShapeQuery
  32. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def hasChildQuery(childType: String, query: Query, scoreMode: ScoreMode = ScoreMode.None): HasChildQuery
  34. def hasParentQuery(parentType: String, query: Query, score: Boolean): HasParentQuery
  35. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. def idsQuery(id: Any, rest: Any*): IdQuery
  37. def idsQuery(ids: Iterable[Any]): IdQuery
  38. def innerHits(name: String): InnerHit
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. def matchAllQuery(): MatchAllQuery
  41. def matchNoneQuery(): MatchNoneQuery
  42. def matchPhrasePrefixQuery(field: String, value: Any): MatchPhrasePrefix
  43. def matchPhraseQuery(field: String, value: Any): MatchPhrase
  44. def matchQuery(field: String, value: Any): MatchQuery
  45. def moreLikeThisQuery(): MoreLikeThisExpectsLikes
  46. def moreLikeThisQuery(fields: Iterable[String]): MoreLikeThisExpectsLikes
  47. def moreLikeThisQuery(first: String, rest: String*): MoreLikeThisExpectsLikes
  48. def multiMatchQuery(text: String): MultiMatchQuery
  49. def must(queries: Iterable[Query]): BoolQuery
  50. def must(first: Query, rest: Query*): BoolQuery
  51. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  52. def nestedQuery(path: String, query: Query): NestedQuery
  53. def nestedQuery(path: String): NestedQueryExpectsQuery
  54. def not(queries: Iterable[Query]): BoolQuery
  55. def not(queries: Query*): BoolQuery
  56. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  57. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  58. def percolateQuery(type: String, field: String = "query"): PercolateExpectsUsing
  59. def prefixQuery(field: String, value: Any): PrefixQuery
  60. def query(queryString: String): QueryStringQuery
  61. def queryStringQuery(queryString: String): QueryStringQuery
  62. def rangeQuery(field: String): RangeQuery
  63. def rawQuery(json: String): RawQuery
  64. def regexQuery(field: String, value: String): RegexQuery
  65. def scriptQuery(script: String): ScriptQuery
  66. def scriptQuery(script: Script): ScriptQuery
  67. def should(queries: Iterable[Query]): BoolQuery
  68. def should(queries: Query*): BoolQuery
  69. def simpleStringQuery(q: String): SimpleStringQuery
  70. def spanContainingQuery(big: SpanQuery, little: SpanQuery): SpanContainingQuery
  71. def spanFirstQuery(query: SpanQuery): SpanFirstExpectsEnd
  72. def spanMultiTermQuery(query: MultiTermQuery): SpanMultiTermQuery
  73. def spanNearQuery(defs: Iterable[SpanQuery], slop: Int): SpanNearQuery
  74. def spanNotQuery(include: SpanQuery, exclude: SpanQuery): SpanNotQuery
  75. def spanOrQuery(first: SpanQuery, rest: SpanQuery*): SpanOrQuery
  76. def spanOrQuery(iterable: Iterable[SpanQuery]): SpanOrQuery
  77. def spanTermQuery(field: String, value: Any): SpanTermQuery
  78. def spanWithinQuery(big: SpanQuery, little: SpanQuery): SpanWithinQuery
  79. implicit def string2query(string: String): SimpleStringQuery
  80. def stringQuery(q: String): QueryStringQuery
  81. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  82. def termQuery(field: String, value: Any): TermQuery
  83. def termsLookupQuery(field: String, path: String, ref: DocumentRef): TermsLookupQuery
  84. def termsQuery[T](field: String, values: Iterable[T])(implicit buildable: BuildableTermsQuery[T]): TermsQuery[T]
  85. def termsQuery[T](field: String, first: T, rest: T*)(implicit arg0: BuildableTermsQuery[T]): TermsQuery[T]
  86. def termsSetQuery(field: String, terms: Set[Any]): TermsSetQuery
  87. def toString(): String
    Definition Classes
    AnyRef → Any
  88. implicit def tuple2query(kv: (String, String)): TermQuery
  89. def typeQuery(type: String): TypeQuery
  90. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  93. def wildcardQuery(field: String, value: Any): WildcardQuery

Deprecated Value Members

  1. def bool(block: ⇒ BoolQuery): BoolQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 5.0.0) this usage leads to subtle bugs, please use boolQuery().must(...).should(...).not(...)

  2. def commonQuery(field: String, text: String): CommonTermsQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 6.1.2) use commonTermsQuery

  3. def commonQuery(field: String): CommonQueryExpectsText
    Annotations
    @deprecated
    Deprecated

    (Since version 6.1.2) use commonTermsQuery

  4. def fieldNamesQuery(names: Iterable[String])(implicit builder: BuildableTermsQuery[String]): Query
    Annotations
    @deprecated
    Deprecated

    (Since version 6.1.2) use existsQuery with _field_names

  5. def fieldNamesQuery(first: String, rest: String*)(implicit builder: BuildableTermsQuery[String]): Query
    Annotations
    @deprecated
    Deprecated

    (Since version 6.1.2) use existsQuery with _field_names

  6. def filter(queries: Iterable[Query]): BoolQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 5.3.3) Use bool query directly

  7. def filter(first: Query, rest: Query*): BoolQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 5.3.3) Use bool query directly

  8. def hasChildQuery(type: String): HasChildQueryExpectsQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 6.3.0) use hasChildQuery(type: String, query: Query, score: Boolean)

  9. def hasParentQuery(type: String): HasParentQueryExpectsQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 6.3.0) use hasParentQuery(type: String, query: Query, score: Boolean)

  10. def matchQuery(tuple: (String, Any)): MatchQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 5.2.0) use matchQuery(field, value) instead of the tupled version

  11. def prefixQuery(tuple: (String, Any)): PrefixQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 6.1.2) use the non-tupled version prefixQuery(field,value)

  12. def regexQuery(tuple: (String, String)): RegexQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 6.1.2) use the non-tupled version regexQuery(field,value)

  13. def termQuery(tuple: (String, Any)): TermQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 6.1.2) use the non-tupled version termQuery(field,value)

  14. def wildcardQuery(tuple: (String, Any)): WildcardQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 6.1.2) use the non-tupled version wildcardQuery(field,value)

Inherited from AnyRef

Inherited from Any

Ungrouped