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.
- field
the field to use for the facet
- size
the maximum number of facets to return
- returns
a constructed facet
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TermFacet
- Serializable
- Serializable
- Product
- Equals
- SearchFacet
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
val
field: String
- Definition Classes
- TermFacet → SearchFacet
-
def
injectParams(queryJson: JsonObject): Unit
- Definition Classes
- SearchFacet
-
val
size: Option[Int]
- Definition Classes
- TermFacet → SearchFacet