Stefan Hengl
Stefan Hengl
Regex dominates our CPU profiles for webserver. The top 10% profiles are almost exclusively regex. Changing from Go's engine to something faster would have big impact on the critical path....
Webserver creates a new matchTree for every shard it searches. The structure of the matchTree, however, only depends on the query. Some trees, like `substrMatchTree`, call 'iterateNgrams` and thus depend...
Memory is our dominant cost factor for operating Zoekt. When evaluating alternatives to Zoekt in the past, we struggeled to get good numbers for MEM/Megabyte of indexed data. Compound shards...
The shard logs show that some shards are restored just after they have been soft deleted. IE in the logs we see "tombname" followed directly by "untomb". The timestamp show...
I introduced a new typo while fixing another one in #60822 :-( Test plan: N/A
Repro: Query: https://sourcegraph.sourcegraph.com/search?q=context:global+r:sourcegraph%403524605++import+-content:package+lang:go&patternType=keyword&sm=0 File `tls-misc.go` has the term `package` in it. /cc @sourcegraph/search-platform
This PR refactors insights to support the upcoming Keyword Search GA. New insights are always persisted with `patternType:`. Queries of existing insights are updated with `patternType:standard ` if they don't...
The following query returns results from various languages on S2 ``` r:^github\.com/sourcegraph/sourcegraph$ lang:yaml if ... else ... patternType:structural ``` However, locally and on .com the language filter works - S2:...