trait QueryApi extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- QueryApi
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- class GeoDistanceExpectsDistance extends AnyRef
- class GeoPolygonExpectsPoints extends AnyRef
- class HasChildQueryExpectsQuery extends AnyRef
- class HasParentQueryExpectsQuery extends AnyRef
- class MoreLikeThisExpectsLikes extends AnyRef
- class NestedQueryExpectsQuery extends AnyRef
- class SpanFirstExpectsEnd extends AnyRef
-
class
GeoDistanceExpectsPoint extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 6.1.2) use geoDistanceQuery(field, hash) or geoDistanceQuery(field, lat, long)
-
class
PercolateExpectsUsing extends AnyRef
- Annotations
- @deprecated
- Deprecated
(Since version 7.2.0) types are going away
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 bool(mustQueries: Seq[Query], shouldQueries: Seq[Query], notQueries: Seq[Query]): BoolQuery
- def boolQuery(): BoolQuery
- def boostingQuery(positiveQuery: Query, negativeQuery: Query): BoostingQuery
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def combinedFieldsQuery(query: String, fields: Seq[String]): CombinedFieldsQuery
- def constantScoreQuery(query: Query): ConstantScore
- def dismax(queries: Iterable[Query]): DisMaxQuery
- def dismax(first: Query, rest: Query*): DisMaxQuery
- def distanceFeatureQuery(field: String, origin: String, pivot: String): DistanceFeatureQuery
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def existsQuery(field: String): ExistsQuery
- def functionScoreQuery(query: Query): FunctionScoreQuery
- def functionScoreQuery(): FunctionScoreQuery
- def fuzzyQuery(field: String, value: String): FuzzyQuery
- def geoBoxQuery(field: String, topleft: String, bottomright: String): GeoBoundingBoxQuery
- def geoBoxQuery(field: String): GeoBoundingBoxQuery
- def geoDistanceQuery(field: String, lat: Double, long: Double): GeoDistanceQuery
- def geoDistanceQuery(field: String, geohash: String): GeoDistanceQuery
- def geoPolygonQuery(field: String, points: Iterable[GeoPoint]): GeoPolygonQuery
- def geoPolygonQuery(field: String, first: GeoPoint, rest: GeoPoint*): GeoPolygonQuery
- def geoPolygonQuery(field: String): GeoPolygonExpectsPoints
- def geoShapeQuery(field: String, shape: Shape): GeoShapeQuery
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hasChildQuery(childType: String, query: Query, scoreMode: ScoreMode = ScoreMode.None): HasChildQuery
- def hasParentQuery(parentType: String, query: Query, score: Boolean): HasParentQuery
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def idsQuery(id: Any, rest: Any*): IdQuery
- def idsQuery(ids: Iterable[Any]): IdQuery
- def innerHits(name: String): InnerHit
- def intervalsQuery(field: String, rule: IntervalsRule): IntervalsQuery
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def matchAllQuery(): MatchAllQuery
- def matchBoolPrefixQuery(field: String, value: Any): MatchBoolPrefixQuery
- def matchNoneQuery(): MatchNoneQuery
- def matchPhrasePrefixQuery(field: String, value: Any): MatchPhrasePrefixQuery
- def matchPhraseQuery(field: String, value: Any): MatchPhraseQuery
- def matchQuery(field: String, value: Any): MatchQuery
- def moreLikeThisQuery(): MoreLikeThisExpectsLikes
- def moreLikeThisQuery(fields: Iterable[String]): MoreLikeThisExpectsLikes
- def moreLikeThisQuery(field: String, fields: String*): MoreLikeThisExpectsLikes
- def multiMatchQuery(text: String): MultiMatchQuery
- def must(queries: Iterable[Query]): BoolQuery
- def must(first: Query, rest: Query*): BoolQuery
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nestedQuery(path: String, query: Query): NestedQuery
- def not(queries: Iterable[Query]): BoolQuery
- def not(queries: Query*): BoolQuery
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def percolateQuery(type: String, field: String = "query"): PercolateExpectsUsing
- def pinnedQuery(ids: List[String], organic: Query): PinnedQuery
- def prefixQuery(field: String, value: Any): PrefixQuery
- def query(queryString: String): QueryStringQuery
- def queryStringQuery(queryString: String): QueryStringQuery
- def rangeQuery(field: String): RangeQuery
- def rankFeatureQuery(field: String): RankFeatureQuery
- def rawQuery(json: String): RawQuery
- def regexQuery(field: String, value: String): RegexQuery
- def scriptQuery(script: String): ScriptQuery
- def scriptQuery(script: Script): ScriptQuery
- def scriptScoreQuery(query: Query): ScriptScoreQuery
- def scriptScoreQuery(): ScriptScoreQuery
- def should(queries: Iterable[Query]): BoolQuery
- def should(queries: Query*): BoolQuery
- def simpleStringQuery(q: String): SimpleStringQuery
- def spanContainingQuery(big: SpanQuery, little: SpanQuery): SpanContainingQuery
- def spanFieldMaskingQuery(fieldToMask: String, query: SpanQuery): SpanFieldMaskingQuery
- def spanFirstQuery(query: SpanQuery, end: Int): SpanFirstQuery
- def spanMultiTermQuery(query: MultiTermQuery): SpanMultiTermQuery
- def spanNearQuery(defs: Iterable[SpanQuery], slop: Int): SpanNearQuery
- def spanNotQuery(include: SpanQuery, exclude: SpanQuery): SpanNotQuery
- def spanOrQuery(first: SpanQuery, rest: SpanQuery*): SpanOrQuery
- def spanOrQuery(iterable: Iterable[SpanQuery]): SpanOrQuery
- def spanTermQuery(field: String, value: Any): SpanTermQuery
- def spanWithinQuery(big: SpanQuery, little: SpanQuery): SpanWithinQuery
- implicit def string2query(string: String): SimpleStringQuery
- def stringQuery(q: String): QueryStringQuery
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def termQuery(field: String, value: Any): TermQuery
- def termsLookupQuery(field: String, path: String, ref: DocumentRef): TermsLookupQuery
- def termsQuery[T](field: String, values: Iterable[T]): TermsQuery[T]
- def termsQuery[T](field: String, first: T, rest: T*): TermsQuery[T]
- def termsSetQuery(field: String, terms: Set[String], minimumShouldMatchScript: Script): TermsSetQuery
- def termsSetQuery(field: String, terms: Set[String], minimumShouldMatchField: String): TermsSetQuery
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- implicit def tuple2query(kv: (String, String)): TermQuery
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def wildcardQuery(field: String, value: Any): WildcardQuery
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
geoDistanceQuery(field: String): GeoDistanceExpectsPoint
- Annotations
- @deprecated
- Deprecated
(Since version 7.2.0) use geoDistanceQuery(field, hash) or geoDistanceQuery(field, lat, long)
-
def
hasChildQuery(type: String): HasChildQueryExpectsQuery
- Annotations
- @deprecated
- Deprecated
(Since version 6.3.0) use hasChildQuery(
type: String, query: Query, score: Boolean)
-
def
hasParentQuery(type: String): HasParentQueryExpectsQuery
- Annotations
- @deprecated
- Deprecated
(Since version 6.3.0) use hasParentQuery(
type: String, query: Query, score: Boolean)
-
def
nestedQuery(path: String): NestedQueryExpectsQuery
- Annotations
- @deprecated
- Deprecated
(Since version 7.7.0) use nestedQuery(path, query)
-
def
spanFirstQuery(query: SpanQuery): SpanFirstExpectsEnd
- Annotations
- @deprecated
- Deprecated
(Since version 7.7.0) use spanFirstQuery(query, end)