Search Requires WooCommerce

Headless Fuzzy Find

Fast WooCommerce product search powered by FULLTEXT indexes and Levenshtein fuzzy matching. Supports weighted relevance scoring across title, SKU, description, attributes, categories, and tags. Built-in autocomplete, synonym expansion, and search analytics.

Features

FULLTEXT index with weighted relevance scoring
Fuzzy correction via Levenshtein distance (handles typos like "shrt" → "shirt")
Search-as-you-type autocomplete endpoint
Synonym expansion support
"Did you mean" suggestions for zero-result queries
Search analytics tracking (popular searches, zero-result queries)

API Endpoints

Method Path
GET /headless-fuzzy-find/v1/search
GET /headless-fuzzy-find/v1/autocomplete

API Example

# Fuzzy search (handles typos)
curl "https://store.example.com/wp-json/headless-fuzzy-find/v1/search?q=shrt&per_page=3"

FAQ

How does the relevance scoring work?
Title matches are weighted highest, followed by SKU, then short description, attributes, categories/tags, and finally full description. Exact matches rank above fuzzy matches.
Does it replace the default WooCommerce search?
It provides a separate REST API endpoint. Your headless frontend calls this instead of the default WP search. The default search remains available for the WordPress admin.