Skip to content

Faceted search

Faceted search is a method of searching through data by using β€œfacets” (data attributes) to gradually narrow down a large data set. In the case of markdown notes, data attributes can come from front matter.

Options

Core

Other less feasible options:

UI

TODO

  • I created a basic proof of concept using facets and InstantSearch β†—. I don’t like it, though. It supports facets for:
    • Tags
    • Date
  • I can still use facets or pagefind, but I need a different UI.
    • Use something slim, like Preact or Solid. However, I can’t find a good components library. Or give up and use React. Then I can use shadcn/ui and many others.
    • Maybe implement a custom Pagefind UI (@pagefind/modular-ui β†—).
  • Other potential fields for facets:
    • Maybe a stage field (make it a separate field instead of using emojis in the title 🧠, 🚷, 🚧).
    • Maybe a task count (closed, open, total).
  • Sort by:
    • Date
    • Title
    • Task count