Hwaro::Models::SearchConfig
Constants
Facet names valid on every site; any taxonomy name is valid too.
tags always is: front matter tags is parsed without a
[[taxonomies]] entry.
Record keys a taxonomy facet may not overwrite.
shards partitions the index into search/<id>.json files plus a
search/index.json manifest so clients lazy-load only what they
need. single_file keeps the classic search.json alongside the
shards; content_max_length (> 0) truncates each entry's content
at a word boundary.
Constructors
Instance methods
split_by_heading adds one record per h2/h3 section (url#id);
facets adds filterable fields to every record; ui publishes the
built-in client under assets/hwaro-search/ (search_tags).
split_by_heading adds one record per h2/h3 section (url#id);
facets adds filterable fields to every record; ui publishes the
built-in client under assets/hwaro-search/ (search_tags).