$k. ElasticsearchTerm

new ElasticsearchTerm()

Represents a term of a facet

Methods

count() → {number}

Get the number of occurrences of the term

Since
  • 5.5.0
Returns:
Type: 
number

key()

Get the key (or raw value) that identifies the term - depends on the term type

Since
  • 5.5.0

label() → {string}

Get the label

Since
  • 5.5.0
Returns:
Type: 
string