ES Smart Search
Smart product search plugin with matching, ranking and fuzzy matching
by Emporio Surfaces · github.com/jcs-company-work/es-smart-search
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jcs-company-work/es-smart-search/archive/refs/heads/main.zipWordPress plugin for searching and filtering Emporio Surfaces product listings.
The plugin indexes published, in-stock batch posts and exposes a REST-backed
search used by the product listing pages. Search operates on batch records, while
the browser presents the matching parent product cards.
Setup
composer install
composer test
vendor/ is generated by Composer and is not committed.
Configuration
The WordPress admin screen is available under Settings > Smart Search. It has three tabs:
- General & Typos: typo distances, suggestion limits, and the no-results fallback.
- Dictionary Overrides: synonym mappings, manually added terms, and ignored terms.
- Search Weighting: dynamically add or remove text and filter fields and assign weights from 0 to 100.
Weight settings are submitted as native arrays and stored in wp_options under
esss_weight_text and esss_weight_filters. The search matcher uses the saved
values, including the canonical size field for dimensions, and falls back to
its built-in weights when an option is empty or invalid.