Articles

Boosting and merchandising for ecommerce search

Put the products you want to sell first, and the ones you don't further down, with field weights, boosts and buries, without fighting the relevance engine. Updated for Indx 6.

Guide

Good ecommerce search is not only about relevance. The top results should reflect both what the shopper meant and what the store wants to move. Indx gives you three levers for this: field weights, boosts and buries. None of them turns every query into a tuning project.

Updated 20 November 2026 for Indx 6.

Relevance gets shoppers to the right shelf. Merchandising decides what sits at eye level.

Weight the fields that matter

Out of the box, a word in a short field like a product name already counts for more than the same word in a long description. A weight says more: a float that only matters relative to the other searched fields. Set it once, and every search uses it.

engine.GetField("name")!.Weight        = 2.0f;
engine.GetField("description")!.Weight = 1.0f;

A search can also weight fields for itself, without changing the configuration:

query.Ranking.FieldBoosts = new Dictionary<string, float> { ["name"] = 2.0f };

Boosts lift

A boost lifts the products a filter holds, without excluding anything else. It is built from the filters you already use, a category, a season, a rating, and applied at one of three strengths.

var inSeason = engine.CreateValueFilter("season", "winter", out _)!;
var boost    = engine.CreateBoost(inSeason, BoostStrength.Med, out _)!;

query.Ranking.Boosts = new[] { boost };

The results stay ranked by relevance underneath, so promoted products never feel random. They rise; they do not take over.

Buries lower

New in Indx 6, a bury is the other way round: it takes the products a filter holds down the list, discontinued or out of stock say, and moves nothing else.

var discontinued = engine.CreateValueFilter("status", "discontinued", out _)!;
query.Ranking.Buries = new[] { engine.CreateBury(discontinued, BuryStrength.High, out _)! };

Campaigns on a schedule

On the Indx server, boost rules are saved per dataset and edited in the console, with a strength and the dates they start and stop. The summer range goes up in June and comes down in September, with no deploy.

Personal boosting

The same mechanism works per shopper. OR the filters for a shopper's usual products into one, and boost it. "Your usual products first" is then a few lines of code rather than a separate system.

Where to start

Begin with field weights and check that the plain relevance feels right, then add boosts and buries on top. Small adjustments add up across thousands of searches a day.

More articles

Indx 6 is here, in beta

Word indexing with up to three typos, ranking you control field by field, and faster, leaner search. IndxSearchLib 6.0 and the Indx server 2.0 are both in beta.

Let your coding agent integrate Indx

A skill, agent-readable docs, and a built-in MCP server. Describe what you want searchable, and your agent does the rest. Updated for Indx 6.