NewSearchandising launches Nov 19 on Product Hunt.
Leave a review for Meilisearch on Product Hunt

Searchandising

Search Rules

Decide what shows up first. Pin, boost, deboost and hide results for the searches that matter, from a visual editor or the API.

Every rule is a condition and an action

Choose when a rule runs, then what it does to the results.

When

The conditions that trigger the rule

  • Query

    Every search, searches containing specific words, or empty searches before the user types.

  • Category pages

    Only when shoppers browse with a given filter, like category = Kitchen.

  • Time

    During a set period, like a sale weekend, then off by itself.

Combine conditions: a rule runs when all of them are true.

Then

The actions it applies to the results

  • Pin

    Place a document at a fixed position, even if it doesn't match the query text.

  • Boost

    Move documents up by raising their relevancy.

  • Deboost

    Move documents down by lowering their relevancy.

  • Hide

    Remove documents from the results, without reindexing.

Boost, deboost and hide work on one document, a list, or every document matching a filter, like stock > 0.

Read a rule like a sentence

Whena search containsmascaraThenpinthe bestseller at #1andhideproduct_type = sample

Built for the people who own results

Merchandisers and content teams change results themselves. Developers keep the same rules in code.

  • Visual editor in Meilisearch Cloud

    Drag a result into place, pick documents or a filter.

  • See the impact first

    Check how many documents an action affects and compare results with and without the rule.

  • Schedule campaigns

    Set rules ahead for Black Friday, launches or seasonal ranges.

  • No deploy needed

    Change results without shipping code, even during a code freeze.

  • Clear precedence

    Each rule has a rank that decides which rule wins when two overlap, and an active toggle to switch it on or off.

  • Full API

    Manage the same rules through the /dynamic-search-rules API, in your own workflow and CI.

See it in Meilisearch Cloud

An 11-minute walkthrough: four rules built from scratch in the visual editor.

Video not loading? Watch it in the docs

Works with everything you already use

Search Rules run on top of organic ranking and work with full-text, hybrid, federated and network search. Every result a rule doesn't touch stays organic.

  • Full-text search
  • Hybrid search
  • Federated search
  • Network search

Pair with personalization

Rules set the business priorities. Personalization reranks results for each user, based on context your app sends with the search.

Explore personalization

What teams build with rules

Each example is one rule, as you would set it up in Meilisearch Cloud.

E-commerce

Pin the campaign page during a sale, boost products that are in stock and hide the ones that sold out.

summer-saleActive

When

Query contains "sandals"Aug 1 to Aug 15

Then

  • PinSummer sale page at #1
  • Booststock > 0
  • Hidestock = 0

Start free, add rules as you grow

Every Meilisearch Cloud project includes 3 rules.

Free

$0

3 rules per Cloud project, no add-on needed

Search Rules add-on

$25/month

Per project, up to 10 rules

Extra packs

From $50/month

10 more rules per pack, per project

Cancel anytime. Enterprise plans with higher limits: contact us.

Search Rules pricing

Frequently asked questions

Rules that pin, boost, deboost or hide documents when conditions match. Meilisearch ranks results as usual, then applies the rule.

Start with 3 free rules on Meilisearch Cloud.