Smart Search

Search Results Ranked by What Each User Wants

Aito combines text similarity with user context to rank search results by relevance to the specific user. The same query returns different results for different users — automatically personalized based on their behavior patterns.

Personalized search results for Larry showing lactose-free milk products ranked by purchase probability

Same "milk" search, personalized for Larry — lactose-free products ranked first based on his behavior


Try Live Search

These queries search the same product catalog but return different results depending on the user. Larry gets lactose-free options, Alice gets organic products.

Live Search Demo

Personalized search and autocomplete from our demo e-commerce database

Search as Larry

Search 'milk' as Larry — results ranked by his lactose-free preferences

Aito Query
{
  "from": "impressions",
  "where": {
    "context.user": "larry",
    "context.query": "milk"
  },
  "recommend": "product",
  "goal": {
    "purchase": true
  },
  "limit": 5,
  "select": [
    "$p",
    "name",
    "tags"
  ]
}

How It Works

1. Store Items and Interactions

Keep your product catalog alongside user interaction data:

{
  "context": { "user": "larry", "query": "milk" },
  "product": { "name": "Oat Milk", "tags": ["dairy-free", "plant-based"] },
  "purchase": true
}

2. Query with User Context

Search with both text matching and user context — Aito combines them automatically:

{
  "from": "impressions",
  "where": {
    "context.user": "larry",
    "context.query": "milk"
  },
  "recommend": "product",
  "goal": { "purchase": true },
  "limit": 5
}

3. Get Personalized Rankings

Results ranked by purchase probability for that specific user, filtered by text relevance.

Key capabilities:

  • Per-user ranking — same query, different results per user based on behavior
  • Text similarity — built-in fuzzy matching with $match operator
  • Autocomplete — use $startsWith for real-time search suggestions
  • Combined signals — text relevance multiplied by user preference for optimal ranking

Where This Is Used

  • E-commerce & Retail — personalized product search, autocomplete, search-driven recommendations

Get Started

Start for free → Upload your product and interaction data to build personalized search.

Try the full e-commerce demo → See personalized search in action in a complete grocery store app.