Compare SourceGraph Code Search to ElasticSearch
Problem Statement
We have a strong integration with SourceGraph: https://docs.gitlab.com/ee/integration/sourcegraph.html. Along with advanced features like Code Intelligence, SourceGraph also provides Code Navigation (jump to definition, etc.). For Code Search, we also integrate with ElasticSearch.
Presently if a user wants both code navigation and global search, they need to operate both ElasticSearch and SourceGraph. This is expensive and unwieldy.
Proposal
We should determine if SourceGraph's search features are comparable to ElasticSearch. If so, it may be possible to simplify our stack and reduce significant operational costs when both code search and navigation are required.
Considerations
- Access control / multi-tenancy
- Ability to consume data types other than code (wiki, snippets, issues, comments, etc.)
- Cost (storage, compute)
- Performance
- Scalability (1PB+)
- Quality of search results
- etc.
Edited by silv