Skip to content

Set the default search feature flags#649

Merged
danniel merged 1 commit intomainfrom
feature/revert-to-old-search
Feb 12, 2026
Merged

Set the default search feature flags#649
danniel merged 1 commit intomainfrom
feature/revert-to-old-search

Conversation

@danniel
Copy link
Collaborator

@danniel danniel commented Feb 12, 2026

Set the default feature flags so that the previous search method is the default one

Summary by CodeRabbit

  • Chores
    • Disabled NGO search word similarity feature by default.

@danniel danniel changed the title Set the default feature flags Set the default search feature flags Feb 12, 2026
@coderabbitai
Copy link

coderabbitai bot commented Feb 12, 2026

📝 Walkthrough

Walkthrough

A feature flag default value ENABLE_NGO_SEARCH_WORD_SIMILARITY is changed from True to False in the feature flags configuration file. This modifies the default behavior when the environment variable is not provided, without altering any control flow or logic.

Changes

Cohort / File(s) Summary
Feature Flag Configuration
backend/redirectioneaza/settings/feature_flags.py
Changed default value of ENABLE_NGO_SEARCH_WORD_SIMILARITY from True to False.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

🐰 A flag flips soft, from true to false,
NGO searches take a gentle waltz,
Word-similarity takes a quieter stance,
Configuration's gentle dance! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Set the default search feature flags' accurately summarizes the main change: modifying the default value of a search-related feature flag (ENABLE_NGO_SEARCH_WORD_SIMILARITY) from True to False.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/revert-to-old-search

No actionable comments were generated in the recent review. 🎉

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


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

@greptile-apps
Copy link

greptile-apps bot commented Feb 12, 2026

Greptile Overview

Greptile Summary

Reverted the default value of ENABLE_NGO_SEARCH_WORD_SIMILARITY from True to False, effectively switching back to the original NGO search implementation using TrigramSimilarity with a 0.3 threshold instead of TrigramWordSimilarity with a 0.4 threshold. This change maintains the existing search behavior while keeping the new word similarity feature available via environment variable override.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The change is a simple one-line boolean default value modification that reverts to the previous search behavior. The flag can still be overridden via environment variable, making this a safe rollback that preserves flexibility.
  • No files require special attention

Important Files Changed

Filename Overview
backend/redirectioneaza/settings/feature_flags.py Changed ENABLE_NGO_SEARCH_WORD_SIMILARITY default from True to False to revert to previous search behavior using TrigramSimilarity instead of TrigramWordSimilarity

@danniel danniel merged commit c806c5c into main Feb 12, 2026
10 checks passed
@danniel danniel deleted the feature/revert-to-old-search branch February 12, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant