CloudCannon / pagefind

Static low-bandwidth search at scale
https://pagefind.app
MIT License
3.23k stars 99 forks source link

Deduplicate Pagefind filters #522

Open bglw opened 7 months ago

bglw commented 7 months ago

If you tag one page with duplicate filters (i.e. have data-pagefind-filter="site:Blog" multiple times on one page) then filter counts in that category will be double counted, as the page will be recorded in that filter index multiple times.

At indexing time, the parser should de-duplicate filters to prevent this.

distinctperspective commented 5 months ago

Any update??