Skip to content

Loupe Search documentation

Developer documentation for Loupe Search. For installation and settings, start with the main README.

  • Architecture — What each class is responsible for, how a search request and an indexing write flow through the system, the trust and persistence boundaries, and where to make common changes.
  • Search API — The REST API behind your own search UI: quick start, pagination, filtering, sorting, facets, highlighting, and geo search, plus a full endpoint and error reference.
  • Filters — All eight loupe_search_* filters: what gets indexed, field weights, schema, sortability, and results per page. Includes recipes and when a reindex is needed.
  • Benchmark — How the Loupe engine compares to WordPress core search, the harness in bin/, and results across ~600 / ~5,600 / ~55,600 documents.

Architecture decision records live in adr/: