Home » Documentation » Site Search » Configuring What Gets Searched » How to Weight Search Fields

How to Weight Search Fields

Field weighting decides which matches rank first: a hit in a title outweighs the same hit in body content. The defaults (title 5, excerpt 2, taxonomies 2, content 1, custom fields 1, comments 1) suit most sites; to change them, switch on Custom field weights under Elevated › Site Search › Settings › Advanced Options › Field Weighting.

Table of Contents

Step 1: Open Field Weighting

Navigate to Elevated › Site Search › Settings, expand Advanced Options, and locate Field Weighting. Switch on Custom field weights to reveal the per-field controls.

The Fuzzy Matching and Field Weighting sections in Advanced Options

Step 2: Set the Weights

Each field takes a weight from 1 to 10. Higher values give matches in that field more influence on ranking. Weightable fields: title, content, excerpt, taxonomies, custom fields, and comments.

Click Save Settings.

How Weights Work

  • Weights shape ranking, not matching. A field with weight 1 still matches; it just ranks lower than the same match in a heavier field.
  • Relative, not absolute. What matters is the ratio between fields. Doubling every weight changes nothing.
  • A worked example: with title 5 and content 1, a post titled “Denim Care” outranks a post that merely mentions denim in passing, which is almost always what visitors expect.

Do This with Your AI Agent

If your agent is connected (see Connect Your AI Agent), you can skip the steps above:

Prompt

Turn on custom field weights for Site Search and boost taxonomy matches to weight 4.

Powered by WPCodeBox

The agent flips the toggle and sets the weight in one settings update, then reads the saved values back.

Troubleshooting

Ranking did not change after saving. Weights apply to new searches immediately, but only matter when a query matches several items in different fields. Test with a term that appears in one item’s title and another item’s body.

On this page
Want More?

Get Every Elevated Extension You’ll Ever Need—One Payment, Yours for Life

Build faster, smarter, and without limits. A single purchase unlocks our entire library today and every new extension we release in the future. No renewals, no upsells, just lifetime power at your fingertips
+All other extensions for unlimited sites

The All Access Pass, available for a limited time

This exclusive package won't be around forever, as we will eventually move to a subscription model. This is your chance to get in early.
  • All Current Extensions
  • All Future Extensions
  • No Renewal Fees
  • 90-Day Money-Back Guarantee