diff options
author | Michael Muré <batolettre@gmail.com> | 2020-11-05 19:47:24 +0100 |
---|---|---|
committer | Mike Goldin <mike.goldin@protonmail.ch> | 2020-11-17 08:09:52 -0500 |
commit | b494e06804dca860138da843e0c44912f692a280 (patch) | |
tree | cc74822ac098d6e30c6d0f9932f40e1cb02676e6 /cache | |
parent | 9bea84e232ea4ae281a7b67c9e27f3a2b6215045 (diff) | |
download | git-bug-b494e06804dca860138da843e0c44912f692a280.tar.gz |
query: english specialized indexing
Diffstat (limited to 'cache')
-rw-r--r-- | cache/repo_cache_bug.go | 2 |
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) |