Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Search: enable cross-repo ranking by default#53031

Merged
jtibshirani merged 3 commits into
mainfrom
jtibs/search-ranking
Jun 7, 2023
Merged

Search: enable cross-repo ranking by default#53031
jtibshirani merged 3 commits into
mainfrom
jtibs/search-ranking

Conversation

@jtibshirani

@jtibshirani jtibshirani commented Jun 6, 2023

Copy link
Copy Markdown
Contributor

This PR updates the search-ranking feature flag to default to 'true'. This greatly improves the result ranking search ranking for cross-repo searches, or for very large repos.

We feel ready to GA this since it's been running successfully on dot com and S2 for several months, and had a successful customer trial.

Note: this enables only part of the "Intelligent ranking" feature. The code intel jobs to produce file ranks are still not enabled by default. We'll make a separate "GA" decision for those jobs.

Test plan

Sourcegraph CI (already several tests exercising ranking). Dogfooding on dot com, S2, customer site.

@cla-bot cla-bot Bot added the cla-signed label Jun 6, 2023
@jtibshirani jtibshirani force-pushed the jtibs/search-ranking branch 4 times, most recently from 1e1c9ac to 02c880e Compare June 6, 2023 22:06
@jtibshirani jtibshirani force-pushed the jtibs/search-ranking branch from 02c880e to dc8d1cd Compare June 6, 2023 22:25
@jtibshirani jtibshirani marked this pull request as ready for review June 6, 2023 22:58
@sourcegraph-bot

sourcegraph-bot commented Jun 6, 2023

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff 3a43d1f...22fd5bc.

Notify File(s)
@camdencheek internal/search/client/client.go
@fkling client/web/src/search/results/SearchResultsInfoBar.test.tsx
client/web/src/search/results/SearchResultsInfoBar.tsx
client/web/src/search/results/StreamingSearchResults.tsx
@keegancsmith internal/search/client/client.go
@limitedmage client/web/src/search/results/SearchResultsInfoBar.test.tsx
client/web/src/search/results/SearchResultsInfoBar.tsx
client/web/src/search/results/StreamingSearchResults.tsx
@unknwon dev/gqltest/search_test.go

@sourcegraph-bot

sourcegraph-bot commented Jun 6, 2023

Copy link
Copy Markdown
Contributor

📖 Storybook live preview

@jtibshirani jtibshirani requested review from a team and cesrjimenez June 6, 2023 23:14

<div className={styles.expander} />

{rankingEnabled && (

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Goodbye ranking toggle!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha! It served us well 😄

@jtibshirani jtibshirani merged commit 11af93d into main Jun 7, 2023
@jtibshirani jtibshirani deleted the jtibs/search-ranking branch June 7, 2023 15:15
ErikaRS pushed a commit that referenced this pull request Jun 22, 2023
This PR updates the `search-ranking` feature flag to default to 'true'.
This greatly improves the result ranking search ranking for cross-repo
searches, or for very large repos.

We feel ready to GA this since it's been running successfully on dot com
and S2 for several months, and had a successful customer trial.

Note: this enables only **part** of the "Intelligent ranking" feature.
The code intel jobs to produce file ranks are still not enabled by
default. We'll make a separate "GA" decision for those jobs.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants