trait QueryApi extends AnyRef

Linear Supertypes
AnyRef, Any
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 GeoDistanceExpectsDistance extends AnyRef
  2. class GeoPolygonExpectsPoints extends AnyRef
  3. class HasChildQueryExpectsQuery extends AnyRef
  4. class HasParentQueryExpectsQuery extends AnyRef
  5. class MoreLikeThisExpectsLikes extends AnyRef
  6. class NestedQueryExpectsQuery extends AnyRef
  7. class SpanFirstExpectsEnd extends AnyRef
  8. class GeoDistanceExpectsPoint extends AnyRef
    Annotations
    @deprecated
    Deprecated

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

  9. class PercolateExpectsUsing extends AnyRef
    Annotations
    @deprecated
    Deprecated

    (Since version 7.2.0) types are going away

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. def combinedFieldsQuery(query: String, fields: Seq[String]): CombinedFieldsQuery
  10. def constantScoreQuery(query: Query): ConstantScore
  11. def dismax(queries: Iterable[Query]): DisMaxQuery
  12. def dismax(first: Query, rest: Query*): DisMaxQuery
  13. def distanceFeatureQuery(field: String, origin: String, pivot: String): DistanceFeatureQuery
  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 functionScoreQuery(query: Query): FunctionScoreQuery
  18. def functionScoreQuery(): FunctionScoreQuery
  19. def fuzzyQuery(field: String, value: String): FuzzyQuery
  20. def geoBoxQuery(field: String, topleft: String, bottomright: String): GeoBoundingBoxQuery
  21. def geoBoxQuery(field: String): GeoBoundingBoxQuery
  22. def geoDistanceQuery(field: String, lat: Double, long: Double): GeoDistanceQuery
  23. def geoDistanceQuery(field: String, geohash: String): GeoDistanceQuery
  24. def geoPolygonQuery(field: String, points: Iterable[GeoPoint]): GeoPolygonQuery
  25. def geoPolygonQuery(field: String, first: GeoPoint, rest: GeoPoint*): GeoPolygonQuery
  26. def geoPolygonQuery(field: String): GeoPolygonExpectsPoints
  27. def geoShapeQuery(field: String, shape: Shape): GeoShapeQuery
  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def hasChildQuery(childType: String, query: Query, scoreMode: ScoreMode = ScoreMode.None): HasChildQuery
  30. def hasParentQuery(parentType: String, query: Query, score: Boolean): HasParentQuery
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. def idsQuery(id: Any, rest: Any*): IdQuery
  33. def idsQuery(ids: Iterable[Any]): IdQuery
  34. def innerHits(name: String): InnerHit
  35. def intervalsQuery(field: String, rule: IntervalsRule): IntervalsQuery
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def matchAllQuery(): MatchAllQuery
  38. def matchBoolPrefixQuery(field: String, value: Any): MatchBoolPrefixQuery
  39. def matchNoneQuery(): MatchNoneQuery
  40. def matchPhrasePrefixQuery(field: String, value: Any): MatchPhrasePrefixQuery
  41. def matchPhraseQuery(field: String, value: Any): MatchPhraseQuery
  42. def matchQuery(field: String, value: Any): MatchQuery
  43. def moreLikeThisQuery(): MoreLikeThisExpectsLikes
  44. def moreLikeThisQuery(fields: Iterable[String]): MoreLikeThisExpectsLikes
  45. def moreLikeThisQuery(field: String, fields: String*): MoreLikeThisExpectsLikes
  46. def multiMatchQuery(text: String): MultiMatchQuery
  47. def must(queries: Iterable[Query]): BoolQuery
  48. def must(first: Query, rest: Query*): BoolQuery
  49. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. def nestedQuery(path: String, query: Query): NestedQuery
  51. def not(queries: Iterable[Query]): BoolQuery
  52. def not(queries: Query*): BoolQuery
  53. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  54. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  55. def percolateQuery(type: String, field: String = "query"): PercolateExpectsUsing
  56. def pinnedQuery(ids: List[String], organic: Query): PinnedQuery
  57. def prefixQuery(field: String, value: Any): PrefixQuery
  58. def query(queryString: String): QueryStringQuery
  59. def queryStringQuery(queryString: String): QueryStringQuery
  60. def rangeQuery(field: String): RangeQuery
  61. def rankFeatureQuery(field: String): RankFeatureQuery
  62. def rawQuery(json: String): RawQuery
  63. def regexQuery(field: String, value: String): RegexQuery
  64. def scriptQuery(script: String): ScriptQuery
  65. def scriptQuery(script: Script): ScriptQuery
  66. def scriptScoreQuery(query: Query): ScriptScoreQuery
  67. def scriptScoreQuery(): ScriptScoreQuery
  68. def should(queries: Iterable[Query]): BoolQuery
  69. def should(queries: Query*): BoolQuery
  70. def simpleStringQuery(q: String): SimpleStringQuery
  71. def spanContainingQuery(big: SpanQuery, little: SpanQuery): SpanContainingQuery
  72. def spanFieldMaskingQuery(fieldToMask: String, query: SpanQuery): SpanFieldMaskingQuery
  73. def spanFirstQuery(query: SpanQuery, end: Int): SpanFirstQuery
  74. def spanMultiTermQuery(query: MultiTermQuery): SpanMultiTermQuery
  75. def spanNearQuery(defs: Iterable[SpanQuery], slop: Int): SpanNearQuery
  76. def spanNotQuery(include: SpanQuery, exclude: SpanQuery): SpanNotQuery
  77. def spanOrQuery(first: SpanQuery, rest: SpanQuery*): SpanOrQuery
  78. def spanOrQuery(iterable: Iterable[SpanQuery]): SpanOrQuery
  79. def spanTermQuery(field: String, value: Any): SpanTermQuery
  80. def spanWithinQuery(big: SpanQuery, little: SpanQuery): SpanWithinQuery
  81. implicit def string2query(string: String): SimpleStringQuery
  82. def stringQuery(q: String): QueryStringQuery
  83. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  84. def termQuery(field: String, value: Any): TermQuery
  85. def termsLookupQuery(field: String, path: String, ref: DocumentRef): TermsLookupQuery
  86. def termsQuery[T](field: String, values: Iterable[T]): TermsQuery[T]
  87. def termsQuery[T](field: String, first: T, rest: T*): TermsQuery[T]
  88. def termsSetQuery(field: String, terms: Set[String], minimumShouldMatchScript: Script): TermsSetQuery
  89. def termsSetQuery(field: String, terms: Set[String], minimumShouldMatchField: String): TermsSetQuery
  90. def toString(): String
    Definition Classes
    AnyRef → Any
  91. implicit def tuple2query(kv: (String, String)): TermQuery
  92. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  93. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  94. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. def wildcardQuery(field: String, value: Any): WildcardQuery

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. def geoDistanceQuery(field: String): GeoDistanceExpectsPoint
    Annotations
    @deprecated
    Deprecated

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

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

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

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

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

  5. def nestedQuery(path: String): NestedQueryExpectsQuery
    Annotations
    @deprecated
    Deprecated

    (Since version 7.7.0) use nestedQuery(path, query)

  6. def spanFirstQuery(query: SpanQuery): SpanFirstExpectsEnd
    Annotations
    @deprecated
    Deprecated

    (Since version 7.7.0) use spanFirstQuery(query, end)

Inherited from AnyRef

Inherited from Any

Ungrouped