case class SearchRowLocations(locations: Map[String, Map[String, Seq[SearchRowLocation]]]) extends Product with Serializable
Represents the locations of a search result row. Locations show where a given term occurs inside of a given field.
- Since
1.0.0
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SearchRowLocations
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new SearchRowLocations(locations: Map[String, Map[String, Seq[SearchRowLocation]]])
Value Members
-
def
fields: Seq[String]
Gets all fields in these locations.
-
def
get(field: String, term: String): Seq[SearchRowLocation]
Gets all locations for a given field and term.
-
def
get(field: String): Seq[SearchRowLocation]
Gets all locations for a given field (any term).
-
def
getAll: Seq[SearchRowLocation]
Gets all locations, for any field and term.
-
def
terms: Set[String]
Gets all terms in these locations.
-
def
termsFor(field: String): Seq[String]
Gets all terms for a given field.