// Magento 2 Extension

Ayasoftware TypesenseSearch

Replace Magento default search with Typesense for instant autocomplete, typo tolerance, faceted filters, and optional AI-powered semantic search.

Ayasoftware TypesenseSearch replaces the default Magento search with Typesense, a fast open-source search engine built for instant search experiences.

Key Features

  • Autocomplete — As customers type, instant results appear for products, categories, CMS pages, and search suggestions.
  • Search Result Page — Replaces the default Magento search results page with a Typesense-powered instant search page featuring filters, sorting, price slider, and pagination.
  • Category Page — Optionally replace the category listing page with Typesense-powered results.
  • Indexing — Syncs your product catalog, categories, and CMS pages to Typesense automatically via Magento indexer and a real-time queue that updates on product changes.
  • Relevance Tuning — Configure which attributes are searched, their weight, and default sort order from the Magento admin.
  • Typo Tolerance — Finds results even when customers misspell search terms.
  • Synonyms — Map equivalent terms so customers always find what they are looking for.
  • Semantic / Hybrid Search — Optional AI-powered search that understands meaning, not just keywords.

Admin Configuration

Full configuration from the Magento admin: API credentials, autocomplete display options, search filters, image settings, indexing queue/cron, and performance tuning (batch size).

Changelog

1.1.0 June 9, 2026

New Feature: AI-Powered Query Rewriting

This release introduces optional AI-powered search query rewriting using the Claude API. When enabled, search queries on the result page are automatically cleaned and expanded before being sent to Typesense, improving the quality of results for conversational, abbreviated, or misspelled queries.

Examples

  • "cheap red running shoes" → removes filler, focuses on product terms
  • "tee shirt xl" → expands abbreviations to "t-shirt xl"
  • "do you have argus tank" → strips conversational phrasing to "argus tank"
  • Fixes common misspellings automatically

How It Works

  • Only fires on the search result page (not autocomplete) to avoid latency impact
  • Rewritten queries are cached in Redis for 24 hours — repeated queries cost nothing
  • If the API is unavailable or times out, search falls back to the original query silently
  • When a query is rewritten, the result page shows "Showing results for: [rewritten query]" with an option to search the original term instead

Setup

Go to Stores → Configuration → Ayasoftware → Typesense Search → AI Search, enable query rewriting and enter your Claude API key (available at console.anthropic.com).

Estimated cost: $2–$20/month for most stores depending on search volume and cache hit rate. Uses Claude Haiku (cheapest model, 60 output tokens max).

1.0.9 June 9, 2026
  • Initial release

Installation

Install via Composer after configuring your credentials. See your dashboard for your license key.

# 1. Add the repository to your project (one-time)
composer config repositories.ayasoftware composer https://www.ayasoftware.com/repo

# 2. Add your credentials to auth.json (one-time)
composer config --global http-basic.www.ayasoftware.com your@email.com YOUR_LICENSE_KEY

# 3. Require the extension
composer require ayasoftware/typesensesearch

# 4. Enable and upgrade
bin/magento module:enable $(bin/magento module:status --enabled | tail -n +3)
bin/magento setup:upgrade
bin/magento cache:clean
$199
One-time purchase · 12 months of updates & support

What's included

  • Full source code via Composer
  • 12 months of updates & support
  • Use on 1 production + unlimited dev domains
  • Documentation & installation guide
Updates & support renewal
$95/year after the initial support period. Your license key continues to work for the version you purchased — renewals unlock new releases.
100%