1. Case study

    Search Platform Upgrade

    Search
    Context

    Product search on a commerce platform ran on Sphinx and relied on manual workarounds for wrong keyboard layout and typos. The index holds about 97,000 product documents (about 147 MB), and a full rebuild takes about 27 seconds.

    What I built

    • Migrated production product search from Sphinx to Manticore Search and kept compatibility with existing client configurations.
    • Replaced manual workarounds with built-in features: cross-layout search, typo tolerance and autocomplete.
    • Built a prototype that adds vector (KNN) semantic search, and presented measurable relevance gains to management.

    What I built

    • Designed an incremental sync from a rebuilt index into the live real-time table. Changed documents are diffed and sorted into REPLACE, UPDATE or DELETE, then processed in batches of 200.
    • REPLACE recomputes the vector (for example 54 documents), UPDATE skips it (about 97,000 documents) and DELETE removes stale ones (for example 24).

    Result and tools

    Search runs on Manticore with existing client configurations intact. Semantic search showed measurable relevance gains and was approved for production. The incremental sync avoids recomputing embeddings for unchanged products.

    Stack
    • Manticore Search
    • SQL
    • Python
    • Perl
    • Shell scripting
    Open the standalone case study