ShopGate Rewrite Search
AI-native query understanding for your online store. Now supporting multiple industries.
The Problem: Messy Queries
Shoppers don't search like databases. They make typos, use slang, and combine multiple intents in one query.
Default search engines often fail on these, returning zero results or irrelevant products.
The Solution: Intelligent Rewrite
Rewrite Search normalizes the query, extracts brand, model, and facets, and sends a clean, structured query to your existing search engine.
Query: "nike air max 270"
Brand: Nike | Model: Air Max 270 | Color: Black | Size: 43 | Gender: Men | Sort: Price Asc
Capabilities
AI Query Understanding
Deeply understands user intent beyond simple keyword matching.
Brand & Facet Extraction
Automatically identifies brands, colors, sizes, and other attributes.
Protected Tokens
Keeps SKUs, model IDs, and specific brand names intact during rewrite.
Pluggable LLM Pipeline
Powered by OpenAI or Gemini, adaptable to your specific domain needs.
Local Caching
High-performance caching layer to ensure low latency for common queries.
Rate Limiting
Built-in protection against abuse and traffic spikes.
How it works
Simple Integration
Integrate with just a few lines of code. Send the user query to our API, get the rewritten query back, and pass it to your search engine.
Read the docs// Example integration
const query = "nie ruing shoes";
// 1. Call ShopGate
const rewritten = await shopgate.rewrite(query);
// Returns: {
// query: "running shoes",
// filters: { brand: "Nike", color: "Red" }
// }
// 2. Call your search
const results = await storeSearch.search({
q: rewritten.query,
filters: rewritten.filters
});