aboutsummaryrefslogtreecommitdiffstats
path: root/cache/repo_cache_bug.go
diff options
context:
space:
mode:
Diffstat (limited to 'cache/repo_cache_bug.go')
-rw-r--r--cache/repo_cache_bug.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache/repo_cache_bug.go b/cache/repo_cache_bug.go
index 19453734..d57e1bce 100644
--- a/cache/repo_cache_bug.go
+++ b/cache/repo_cache_bug.go
@@ -112,6 +112,8 @@ func (c *RepoCache) createBleveIndex() error {
_ = os.RemoveAll(blevePath)
mapping := bleve.NewIndexMapping()
+ mapping.DefaultAnalyzer = "en"
+
dir := searchCacheDirPath(c.repo)
bleveIndex, err := bleve.New(dir, mapping)