Class

com.sksamuel.elastic4s.searches.queries

BoolQueryDefinition

Related Doc: package queries

Permalink

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

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

Instance Constructors

  1. new BoolQueryDefinition(adjustPureNegative: Option[Boolean] = None, boost: Option[Double] = None, minimumShouldMatch: Option[String] = None, queryName: Option[String] = None, filters: Seq[QueryDefinition] = Nil, must: Seq[QueryDefinition] = Nil, not: Seq[QueryDefinition] = Nil, should: Seq[QueryDefinition] = 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): BoolQueryDefinition

    Permalink
  5. val adjustPureNegative: Option[Boolean]

    Permalink
  6. final def asInstanceOf[T0]: T0

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

    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[QueryDefinition]): BoolQueryDefinition

    Permalink
  12. def filter(first: QueryDefinition, rest: QueryDefinition*): BoolQueryDefinition

    Permalink
  13. val filters: Seq[QueryDefinition]

    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): BoolQueryDefinition

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

    Permalink
  19. val minimumShouldMatch: Option[String]

    Permalink
  20. def must(queries: Iterable[QueryDefinition]): BoolQueryDefinition

    Permalink

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

  21. def must(queries: QueryDefinition*): BoolQueryDefinition

    Permalink

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

  22. val must: Seq[QueryDefinition]

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

    Permalink
    Definition Classes
    AnyRef
  24. def not(queries: Iterable[QueryDefinition]): BoolQueryDefinition

    Permalink

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

  25. def not(queries: QueryDefinition*): BoolQueryDefinition

    Permalink

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

  26. val not: Seq[QueryDefinition]

    Permalink
  27. final def notify(): Unit

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

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

    Permalink
  30. val queryName: Option[String]

    Permalink
  31. def should(queries: Iterable[QueryDefinition]): BoolQueryDefinition

    Permalink

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

  32. def should(queries: QueryDefinition*): BoolQueryDefinition

    Permalink

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

  33. val should: Seq[QueryDefinition]

    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[QueryDefinition]): BoolQueryDefinition

    Permalink

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

  39. def withMust(first: QueryDefinition, rest: QueryDefinition*): BoolQueryDefinition

    Permalink

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

  40. def withNot(queries: Iterable[QueryDefinition]): BoolQueryDefinition

    Permalink

    Appends the given queries to the existing not queries.

  41. def withNot(first: QueryDefinition, rest: QueryDefinition*): BoolQueryDefinition

    Permalink

    Appends the given queries to the existing not queries.

  42. def withShould(queries: Iterable[QueryDefinition]): BoolQueryDefinition

    Permalink

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

  43. def withShould(first: QueryDefinition, rest: QueryDefinition*): BoolQueryDefinition

    Permalink

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

Deprecated Value Members

  1. def appendMust(queries: Iterable[QueryDefinition]): BoolQueryDefinition

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use withMust

  2. def appendMust(first: QueryDefinition, rest: QueryDefinition*): BoolQueryDefinition

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use withMust

  3. def appendNot(queries: Iterable[QueryDefinition]): BoolQueryDefinition

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use withNot

  4. def appendNot(first: QueryDefinition, rest: QueryDefinition*): BoolQueryDefinition

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use withNot

  5. def appendShould(queries: Iterable[QueryDefinition]): BoolQueryDefinition

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) use withMust

  6. def appendShould(first: QueryDefinition, rest: QueryDefinition*): BoolQueryDefinition

    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 QueryDefinition

Inherited from AnyRef

Inherited from Any

Ungrouped