Sourcegraph docs Sourcegraph docs

Sections

  • Getting started
    • Product tour
    • Personalization
  • Code search
    • Tutorials
    • How-to guides
    • Explanations
    • Reference
  • Code intelligence
    • Tutorials
    • How-to guides
    • Explanations
    • Reference
  • Batch Changes
    • Quickstart
    • Explanations
    • Tutorials
    • How-to guides
    • References
  • Code Insights
    • Quickstart
    • Explanations
    • How-to guides
    • References
  • Notebooks
    • Quickstart
  • Integrations
    • Browser extension
    • Editors
    • Browser search engine
  • Extensions
  • CLI
    • Quickstart
    • Explanations
    • How-to guides
    • References
  • Cloud
  • Adopting
  • Administration
    • Install
    • Upgrade
    • Configuration
    • Code hosts
    • User authentication
    • Extension registry
    • Observability
    • FAQ
    • Troubleshooting
    • How-to guides
  • Development
    • Setup
    • How-to guides
    • Background information
    • Contributing

  • ★ Quick install
  • ★ Search query syntax
  • ★ API

External

  • About Sourcegraph
  • Sourcegraph.com

How-to guides

On this page:

  • How-to guides
Edit this page
Home / code_search / how-to

How-to guides

  • Switch from Oracle OpenGrok to Sourcegraph
  • Create a saved search
  • Create a custom search snippet
  • Using and creating search contexts
  • Adding repositories to Sourcegraph Cloud
  • Searching with search contexts on Sourcegraph Cloud
  • Exhaustive search
  • How to create a search context with the GraphQL API
  • How to convert repository groups to search contexts
  • About Sourcegraph
  • Sourcegraph.com
  • Code (GitHub)
  • Terms
  • Security
  • Privacy