diff --git a/cache/repo_cache_bug.go b/cache/repo_cache_bug.go index 194537348f9733c647594bdb55cbb4e340b32aa4..d57e1bce3fc96469d9ca352c9ae0e2ffabac70fe 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)