Repository navigation
Commit 8682e52
docs/search: explain indexed vs unindexed trigram difference (#2084)
Zoekt skips the content of files with more than 20,000 unique trigrams
(mostly minified JS, source maps and lockfiles), but unindexed search
(searcher) has no such check, so the same query can return more results
with `index:no` than indexed. Rather than adding a trigram check to
searcher, we agreed to document the difference and the workarounds:
`index:no` or `search.largeFiles`.
Discussion:
https://sourcegraph.slack.com/archives/C022SPMNR0W/p1791537536129499
Co-authored-by: Amp <amp@ampcode.com>1 parent 86f3ac0 commit 8682e52
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
0 commit comments