Class

com.sksamuel.elastic4s.searches.queries

BoolQuery

Related Doc: package queries

Permalink

case class BoolQuery(adjustPureNegative: Option[Boolean] = None, boost: Option[Double] = None, minimumShouldMatch: Option[String] = None, queryName: Option[String] = None, filters: Seq[Query] = Nil, must: Seq[Query] = Nil, not: Seq[Query] = Nil, should: Seq[Query] = Nil) extends Query with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Query, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BoolQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Query
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BoolQuery(adjustPureNegative: Option[Boolean] = None, boost: Option[Double] = None, minimumShouldMatch: Option[String] = None, queryName: Option[String] = None, filters: Seq[Query] = Nil, must: Seq[Query] = Nil, not: Seq[Query] = Nil, should: Seq[Query] = Nil)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def adjustPureNegative(adjustPureNegative: Boolean): BoolQuery

    Permalink
  5. val adjustPureNegative: Option[Boolean]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def boost(boost: Double): BoolQuery

    Permalink
  8. val boost: Option[Double]

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def filter(queries: Iterable[Query]): BoolQuery

    Permalink
  12. def filter(first: Query, rest: Query*): BoolQuery

    Permalink
  13. val filters: Seq[Query]

    Permalink
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def minimumShouldMatch(min: String): BoolQuery

    Permalink
  17. def minimumShouldMatch(min: Int): BoolQuery

    Permalink
  18. val minimumShouldMatch: Option[String]

    Permalink
  19. def must(queries: Iterable[Query]): BoolQuery

    Permalink

    Replaces the current 'must' queries with the given queries.

  20. def must(queries: Query*): BoolQuery

    Permalink

    Replaces the current 'must' queries with the given queries.

  21. val must: Seq[Query]

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def not(queries: Iterable[Query]): BoolQuery

    Permalink

    Replaces the current 'not' queries with the given queries.

  24. def not(queries: Query*): BoolQuery

    Permalink

    Replaces the current 'not' queries with the given queries.

  25. val not: Seq[Query]

    Permalink
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. def queryName(queryName: String): BoolQuery

    Permalink
  29. val queryName: Option[String]

    Permalink
  30. def should(queries: Iterable[Query]): BoolQuery

    Permalink

    Replaces the current 'should' queries with the given queries.

  31. def should(queries: Query*): BoolQuery

    Permalink

    Replaces the current 'should' queries with the given queries.

  32. val should: Seq[Query]

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def withMust(queries: Iterable[Query]): BoolQuery

    Permalink

    Appends the current 'must' queries with the given queries.

  38. def withMust(first: Query, rest: Query*): BoolQuery

    Permalink

    Appends the current 'must' queries with the given queries.

  39. def withNot(queries: Iterable[Query]): BoolQuery

    Permalink

    Appends the given queries to the existing not queries.

  40. def withNot(first: Query, rest: Query*): BoolQuery

    Permalink

    Appends the given queries to the existing not queries.

  41. def withShould(queries: Iterable[Query]): BoolQuery

    Permalink

    Appends the current 'should' queries with the given queries.

  42. def withShould(first: Query, rest: Query*): BoolQuery

    Permalink

    Appends the current 'should' queries with the given queries.

Deprecated Value Members

  1. def appendMust(queries: Iterable[Query]): BoolQuery

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use withMust

  2. def appendMust(first: Query, rest: Query*): BoolQuery

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use withMust

  3. def appendNot(queries: Iterable[Query]): BoolQuery

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use withNot

  4. def appendNot(first: Query, rest: Query*): BoolQuery

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use withNot

  5. def appendShould(queries: Iterable[Query]): BoolQuery

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use withMust

  6. def appendShould(first: Query, rest: Query*): BoolQuery

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use withMust

  7. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Query

Inherited from AnyRef

Inherited from Any

Ungrouped