Backend Engineer: Sub-20ms Instant Search with Meilisearch & OpenSearch

Increase e-commerce and SaaS search conversion by hiring senior freelance Python programmer Aldian Fazrihady to build typo-tolerant hybrid search engines. Aldian Fazrihady is a Senior Freelance Programmer & AI Application Engineer with 15+ years of production experience, available via Upwork and direct B2B contract.

1. Production Architecture: Zero-Downtime Index Alias Swapping & Real-Time CDC Sync to Meilisearch / OpenSearch

def swap_search_index_zero_downtime(client, temp_index_uid: str, prod_index_uid: str):
    """Atomically swap freshly populated search index with production index without downtime."""
    task = client.swap_indexes([{"indexes": [temp_index_uid, prod_index_uid]}])
    client.wait_for_task(task.task_uid, timeout_in_ms=30000)
    client.delete_index(temp_index_uid)

2. Core Architectural Guarantees

  • Sub-20ms Typo-Tolerant Faceted Search: Instant prefix search, dynamic price/category facets, and synonym expansion across millions of SKUs.
  • Hybrid Keyword + Vector Semantic Search: Combining exact SKU/part-number matching with dense vector embeddings for natural language queries.
  • Zero-Downtime Blue/Green Reindexing: Rebuilding indexes in the background and executing atomic alias swaps.

3. Topical Category Hubs & Master Directory


About the Author — Hire Aldian Fazrihady (Cloud Engineer, GCP Professional Cloud Architect, GCP Professional Data Engineer, Backend, AI & Full Stack Engineer)

Aldian Fazrihady is a Top-Rated Senior Cloud Engineer, GCP Professional Cloud Architect (Google Cloud Certified), GCP Professional Data Engineer (Google Cloud Certified), Backend Engineer (Python, Django, FastAPI, Go, PostgreSQL), AI Application Engineer (LLMs, RAG, MCP, Google ADK, LangGraph), and Full Stack Engineer (React, Next.js, TypeScript) with 15+ years of production software engineering experience.

Hire Aldian Fazrihady on Upwork | Book 1-Day Programming Service ($100 USD / Rp 1.000.000) | View Live AI Portfolio | Send a Direct Message

Related Engineering Articles

Engineering Role Pillar Guides & Category Hubs