Skip to content

Docs search: add DSR / searchandizing synonyms - #3778

Merged
tpayet merged 1 commit into
mainfrom
docs-search-dsr-synonyms
Nov 18, 2026
Merged

tpayet merged 1 commit into
mainfrom
docs-search-dsr-synonyms

Conversation

@tpayet

@tpayet tpayet commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Why

We are going to talk about Dynamic Search Rules (DSR) as "searchandizing" / "searchandization" in our communication. People who search the docs with these words must land on the search rules pages.

What

Adds synonyms to custom_settings.synonyms in docs-scraper.config.json:

  • dsr, dynamic search rules, search rules, searchandizing, searchandising, searchandization, searchandisation are linked together
  • merchandising is a one-way synonym to dynamic search rules / search rules (one-way so searches for "dynamic search rules" do not pull in generic merchandising content)

Why in the config file and not via the API

The docs-scraper deletes the mintlify-production index on every push to main and re-applies custom_settings from this file (see MeiliSearchHelper.__init__ in meilisearch/docs-scraper). A synonyms update sent directly to the instance would be wiped at the next docs merge. Merging this PR also triggers the scraper workflow, so the synonyms go live right after merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EDhN6kkQ1K7FxTd7JrcgW9

Summary by CodeRabbit

  • New Features
    • Search now recognizes additional spelling variants and related terms for “DSR,” “dynamic search rules,” “search rules,” and “searchandizing.”
    • Searches for “merchandising” also match results associated with “dynamic search rules” and “search rules.”

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EDhN6kkQ1K7FxTd7JrcgW9
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation-chat Error Error Nov 18, 2026 3:35pm UTC

Request Review

@mintlify

mintlify Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
meilisearch-documentation 🟢 Ready View Preview Nov 18, 2026, 3:36 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The scraper configuration adds synonym mappings for “dsr,” “dynamic search rules,” “search rules,” related spelling variants, and “merchandising.”

Changes: Search synonyms

Layer / File(s) Summary
Add search synonym mappings
docs-scraper.config.json
The synonyms configuration links “dsr,” “dynamic search rules,” “search rules,” “searchandizing,” spelling variants, and “merchandising.”

Estimated code review effort: 2 (Simple) | ~8 minutes

Possibly related PRs

Suggested labels: tooling and maintenance

Suggested reviewers: strift, carofg, curquiza

Merge Risk: Minimal · up to 667ef

This change adds DSR and searchandizing synonyms to docs search configuration. No concrete defect was established. Merge risk is minimal; the one open point is how far synonym expansion reaches across variants, which is minor.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Docs search: add DSR / searchandizing synonyms" matches the main change. The raw summary and objectives both show that the PR adds synonym mappings for "dsr", "dynamic search rules", "searc…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Docs search: add DSR / searchandizing synonyms" matches the main change. The raw summary and objectives both show that the PR adds synonym mappings for "dsr", "dynamic search rules", "search rules", and "searchandizing" variants in docs-scraper.config.json. The title is specific, concise, and states the primary change from the developer's perspective. It omits the one-way "merchandising" mapping, which is a secondary detail.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: dd212556-775a-4ecb-8262-753f7bc63b1e
Commits

Reviewing files that changed from the base of the PR and between 8c5ae01 and 667ef38.

Files selected for processing: 1

  • docs-scraper.config.json

Included review availability: This review used your included allowance. 4 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

@tpayet
tpayet added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit b08d0ad Nov 18, 2026
4 of 5 checks passed
@tpayet
tpayet deleted the docs-search-dsr-synonyms branch November 18, 2026 16:16

This branch was successfully deployed

1 active deployment
staging — 667ef38d Deployed Nov 18, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tooling and maintenance Maintenance (CI, tooling...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants