(field)
| 216 | } |
| 217 | |
| 218 | getFacetType(field) { |
| 219 | const cleanedField = field |
| 220 | .replace('gte:', '') |
| 221 | .replace('lte:', '') |
| 222 | .replace('eq:', ''); |
| 223 | return this.getString(`facet_type:${cleanedField}`); |
| 224 | } |
| 225 | |
| 226 | hasFacet(field) { |
| 227 | return this.getList('facet').indexOf(field) !== -1; |