Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docs/code-search/features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,29 @@ You get the following improvements:
- **Reworked fuzzy finder ⌘K**: Find files and symbols quickly and easily with our whole new fuzzy finder
- **File actions**: Like open in editor and open on code host

## Personalized search ranking

<Callout type="info">The personalized search ranking experience is available for Enterprise users only.</Callout>

Sourcegraph Enterprise users can get more personalized and better-ranked search results in the search bar for their codebases. With this experience enabled, you can get intelligently ranked results for your full query for keyword searches like "data router". You also get results boosted from repositories you’ve recently contributed to, making it easier to find the code you care about faster.

The personalized search ranking works best if you have large codebases, especially for new users who may otherwise get overwhelmed by results from unfamiliar or irrelevant repositories.

It is enabled by default, but you can disable it from your settings via:

```json
experimentalFeatures: {
boostRelevantRepositories: false
}
```

Here is an example of search results with personalized search ranking enabled:

![search-ranking-enabled](https://storage.googleapis.com/sourcegraph-assets/Docs/personalized-search-rankings.png)

As you can see, the results are now ranked based on their relevance to the query, and the results from repositories you've recently contributed to are boosted.


## Other search tips

- When viewing a file or directory, press the `y` key to expand the URL to its canonical form (with the full 40-character Git commit SHA).
Expand Down
Loading