You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
meilisearch/documentation#3756: This PR standardizes Search Rules wording, while this change links related terms in scraper synonyms.
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: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.synonymsindocs-scraper.config.json:dsr,dynamic search rules,search rules,searchandizing,searchandising,searchandization,searchandisationare linked togethermerchandisingis a one-way synonym todynamic 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-productionindex on every push tomainand re-appliescustom_settingsfrom this file (seeMeiliSearchHelper.__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