Packages

object SearchFacet

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SearchFacet
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class DateRange(name: String, start: Option[String], end: Option[String]) extends Product with Serializable

    Defines a date range.

    Defines a date range.

    start and end are both optional, but at least one must be provided.

    name

    the name of the range, to make it easier to find in the results

    start

    the start of the range (optional)

    end

    the start of the range (optional)

  2. case class DateRangeFacet(field: String, dateRanges: Seq[DateRange], size: Option[Int] = None) extends SearchFacet with Product with Serializable

    A facet that categorizes rows inside date ranges (or buckets) provided by the user.

    A facet that categorizes rows inside date ranges (or buckets) provided by the user.

    field

    the field to use for the facet

    dateRanges

    the ranges. At least one should be specified.

    size

    the maximum number of facets to return

    Since

    1.0.0

  3. case class NumericRange(name: String, min: Option[Float], max: Option[Float]) extends Product with Serializable

    Defines a numeric range.

    Defines a numeric range.

    min and max are both optional, but at least one should be provided.

    name

    the name of the range, to make it easier to find in the results

    min

    the lower bound (optional)

    max

    the upper bound (optional)

  4. case class NumericRangeFacet(field: String, numericRanges: Seq[NumericRange], size: Option[Int] = None) extends SearchFacet with Product with Serializable

    A search facet that categorizes rows into numerical ranges (or buckets) provided by the user.

    A search facet that categorizes rows into numerical ranges (or buckets) provided by the user.

    field

    the field to use for the facet

    numericRanges

    the ranges. At least one should be specified.

    size

    the maximum number of facets to return

    returns

    a constructed facet

  5. case class TermFacet(field: String, size: Option[Int] = None) extends SearchFacet with Product with Serializable

    A search facet that gives the number of occurrences of the most recurring terms in all rows.

    A search facet that gives the number of occurrences of the most recurring terms in all rows.

    field

    the field to use for the facet

    size

    the maximum number of facets to return

    returns

    a constructed facet

Value Members

  1. object DateRange extends Serializable