Skip to main content

Local backend

The Local (built-in) backend stores its search index in your site's own database and uses MySQL full-text search. There's no account to create and no keys to enter.

Turn it on​

  1. Go to Settings → Tangible SearchSync → Connection Setup.
  2. Under Search Backend, set Backend to Local (built-in).
  3. Click Save Settings.

That's it. Searches go to your site's own REST endpoint (/wp-json/searchsync/v1/search).

How it compares​

AlgoliaMeilisearchLocal
Account neededYesYes (or self-host)No
Facets and filtersYesYesYes
Typo toleranceYesYesNo
Per-user access controlSecured API keysTenant tokensChecked in the database on each request
SortingReplica indexesAny sortable fieldsort_text, sort_date and sort_number only

Things to know​

  • No typo tolerance. A search for "wordpres" won't find "WordPress". If fuzzy matching matters, use Algolia or Meilisearch.
  • Sorting is limited to three indexed columns: sort_text, sort_date and sort_number. Sorting on any other field quietly falls back to relevance.
  • Sorting with a search term reorders the most relevant results rather than the whole index: the top 1,000 by default. Developers can change that with the tangible_searchsync_local_relevance_cap filter.
  • Staging mode doesn't apply. The Local backend only writes to your own database, so there's no live index for a staging copy to overwrite.
  • Uninstalling the plugin keeps the Local index tables unless they're removed on purpose. See the FAQ.