Skip to content

Remove unused code samples#1217

Merged
curquiza merged 1 commit intomainfrom
chore/remove-unused-code-samples
Mar 1, 2026
Merged

Remove unused code samples#1217
curquiza merged 1 commit intomainfrom
chore/remove-unused-code-samples

Conversation

@curquiza
Copy link
Copy Markdown
Member

@curquiza curquiza commented Mar 1, 2026

Remove unused code samples identified by the CI: https://github.com/meilisearch/documentation/actions/runs/22537551064/job/65287625968

Summary by CodeRabbit

  • Documentation
    • Streamlined search examples by consolidating vector and hybrid search parameters into a single, unified example for clarity and easier reference.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@curquiza curquiza added the documentation Improvements or additions to documentation label Mar 1, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 1, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0467d70 and d71382a.

📒 Files selected for processing (1)
  • .code-samples.meilisearch.yaml

📝 Walkthrough

Walkthrough

The pull request consolidates Meilisearch code sample examples in .code-samples.meilisearch.yaml by removing separate hybrid and retrieve-vectors example entries and updating the vector search example to demonstrate combined vector and hybrid embedder functionality in a single request.

Changes

Cohort / File(s) Summary
Code Sample Consolidation
.code-samples.meilisearch.yaml
Removed standalone hybrid example (search_parameter_guide_hybrid_1) and retrieve-vectors example (search_parameter_reference_retrieve_vectors_1). Updated vector search example (search_parameter_guide_vector_1) to include both vector parameters and hybrid embedder in a single combined example.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • meilisearch-python#1216: Modifies the same .code-samples.meilisearch.yaml file to consolidate search and vector-related example entries, indicating parallel example rationalization efforts.

Poem

🐰 Examples once scattered, now neatly combined,
Hybrid and vectors in one place we find,
The samples shine bright with their consolidated cheer,
Simpler for all who may venture in here! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/remove-unused-code-samples

Comment @coderabbitai help to get the list of available commands and usage tips.

@curquiza curquiza merged commit 8a26348 into main Mar 1, 2026
10 of 11 checks passed
@curquiza curquiza deleted the chore/remove-unused-code-samples branch March 1, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant