trait QueryApi extends AnyRef
- Alphabetic
- By Inheritance
- QueryApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- class CommonQueryExpectsText extends AnyRef
- 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 PercolateExpectsUsing 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)
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def commonTermsQuery(field: String, text: String): CommonTermsQuery
- def commonTermsQuery(field: String): CommonQueryExpectsText
- def constantScoreQuery(query: Query): ConstantScore
- def dismax(queries: Iterable[Query]): DisMaxQuery
- def dismax(first: Query, rest: Query*): DisMaxQuery
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def existsQuery(field: String): ExistsQuery
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- 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 geoDistanceQuery(field: String): GeoDistanceExpectsPoint
- def geoHashCell(field: String, point: GeoPoint): GeoHashCellQuery
- def geoHashCell(field: String, geohash: String): GeoHashCellQuery
- 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()
- 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()
- def idsQuery(id: Any, rest: Any*): IdQuery
- def idsQuery(ids: Iterable[Any]): IdQuery
- def innerHits(name: String): InnerHit
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def matchAllQuery(): MatchAllQuery
- def matchNoneQuery(): MatchNoneQuery
- def matchPhrasePrefixQuery(field: String, value: Any): MatchPhrasePrefix
- def matchPhraseQuery(field: String, value: Any): MatchPhrase
- def matchQuery(field: String, value: Any): MatchQuery
- def moreLikeThisQuery(): MoreLikeThisExpectsLikes
- def moreLikeThisQuery(fields: Iterable[String]): MoreLikeThisExpectsLikes
- def moreLikeThisQuery(first: String, rest: 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 nestedQuery(path: String): NestedQueryExpectsQuery
- def not(queries: Iterable[Query]): BoolQuery
- def not(queries: Query*): BoolQuery
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def percolateQuery(type: String, field: String = "query"): PercolateExpectsUsing
- def prefixQuery(field: String, value: Any): PrefixQuery
- def query(queryString: String): QueryStringQuery
- def queryStringQuery(queryString: String): QueryStringQuery
- def rangeQuery(field: String): RangeQuery
- def rawQuery(json: String): RawQuery
- def regexQuery(field: String, value: String): RegexQuery
- def scriptQuery(script: String): ScriptQuery
- def scriptQuery(script: Script): ScriptQuery
- def should(queries: Iterable[Query]): BoolQuery
- def should(queries: Query*): BoolQuery
- def simpleStringQuery(q: String): SimpleStringQuery
- def spanContainingQuery(big: SpanQuery, little: SpanQuery): SpanContainingQuery
- def spanFirstQuery(query: SpanQuery): SpanFirstExpectsEnd
- 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])(implicit buildable: BuildableTermsQuery[T]): TermsQuery[T]
- def termsQuery[T](field: String, first: T, rest: T*)(implicit arg0: BuildableTermsQuery[T]): TermsQuery[T]
- def termsSetQuery(field: String, terms: Set[Any]): TermsSetQuery
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- implicit def tuple2query(kv: (String, String)): TermQuery
- def typeQuery(type: String): TypeQuery
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def wildcardQuery(field: String, value: Any): WildcardQuery
Deprecated Value Members
-
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(...)
-
def
commonQuery(field: String, text: String): CommonTermsQuery
- Annotations
- @deprecated
- Deprecated
(Since version 6.1.2) use commonTermsQuery
-
def
commonQuery(field: String): CommonQueryExpectsText
- Annotations
- @deprecated
- Deprecated
(Since version 6.1.2) use commonTermsQuery
-
def
fieldNamesQuery(names: Iterable[String])(implicit builder: BuildableTermsQuery[String]): Query
- Annotations
- @deprecated
- Deprecated
(Since version 6.1.2) use existsQuery with _field_names
-
def
fieldNamesQuery(first: String, rest: String*)(implicit builder: BuildableTermsQuery[String]): Query
- Annotations
- @deprecated
- Deprecated
(Since version 6.1.2) use existsQuery with _field_names
-
def
filter(queries: Iterable[Query]): BoolQuery
- Annotations
- @deprecated
- Deprecated
(Since version 5.3.3) Use bool query directly
-
def
filter(first: Query, rest: Query*): BoolQuery
- Annotations
- @deprecated
- Deprecated
(Since version 5.3.3) Use bool query directly
-
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
matchQuery(tuple: (String, Any)): MatchQuery
- Annotations
- @deprecated
- Deprecated
(Since version 5.2.0) use matchQuery(field, value) instead of the tupled version
-
def
prefixQuery(tuple: (String, Any)): PrefixQuery
- Annotations
- @deprecated
- Deprecated
(Since version 6.1.2) use the non-tupled version prefixQuery(field,value)
-
def
regexQuery(tuple: (String, String)): RegexQuery
- Annotations
- @deprecated
- Deprecated
(Since version 6.1.2) use the non-tupled version regexQuery(field,value)
-
def
termQuery(tuple: (String, Any)): TermQuery
- Annotations
- @deprecated
- Deprecated
(Since version 6.1.2) use the non-tupled version termQuery(field,value)
-
def
wildcardQuery(tuple: (String, Any)): WildcardQuery
- Annotations
- @deprecated
- Deprecated
(Since version 6.1.2) use the non-tupled version wildcardQuery(field,value)