mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
This change removes the backend smart search logic. After this, searches with smart search enabled (`sm=1`) will be executed in the default 'precise' mode (`sm=0`). For old searches that use `sm=1` and `patterntype=standard`, it's possible that they will now return no results. Looking at telemetry, only 0.1% of searches on dot com trigger any smart search rule. So this change should only affect a small percentage of usage. To mitigate the impact on these rare cases, this PR adds an alert whenever there are no results and smart search is enabled, suggesting users switch to keyword search. (This will help in the majority of cases, since the most frequent smart search rule rewrites literal queries to use 'AND' between terms). Closes SPLF-92 |
||
|---|---|---|
| .. | ||
| auth-proxy-http-header | ||
| search-plan | ||