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
    @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. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
  19. val minimumShouldMatch: Option[String]

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

    Permalink

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

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

    Permalink

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

  22. val must: Seq[Query]

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

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

    Permalink

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

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

    Permalink

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

  26. val not: Seq[Query]

    Permalink
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def queryName(queryName: String): BoolQuery

    Permalink
  30. val queryName: Option[String]

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

    Permalink

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

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

    Permalink

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

  33. val should: Seq[Query]

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

    Permalink
    Definition Classes
    AnyRef
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink

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

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

    Permalink

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

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

    Permalink

    Appends the given queries to the existing not queries.

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

    Permalink

    Appends the given queries to the existing not queries.

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

    Permalink

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

  43. 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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Query

Inherited from AnyRef

Inherited from Any

Ungrouped