diff options
Diffstat (limited to 'modules/indexer/repo.go')
-rw-r--r-- | modules/indexer/repo.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/indexer/repo.go b/modules/indexer/repo.go index 645a6fc88b..91ed173aa7 100644 --- a/modules/indexer/repo.go +++ b/modules/indexer/repo.go @@ -13,7 +13,6 @@ import ( "github.com/blevesearch/bleve" "github.com/blevesearch/bleve/analysis/analyzer/custom" "github.com/blevesearch/bleve/analysis/token/lowercase" - "github.com/blevesearch/bleve/analysis/token/unique" "github.com/blevesearch/bleve/analysis/tokenizer/unicode" "github.com/blevesearch/bleve/search/query" "github.com/ethantkoenig/rupture" @@ -23,7 +22,7 @@ const ( repoIndexerAnalyzer = "repoIndexerAnalyzer" repoIndexerDocType = "repoIndexerDocType" - repoIndexerLatestVersion = 3 + repoIndexerLatestVersion = 4 ) // repoIndexer (thread-safe) index for repository contents @@ -110,7 +109,7 @@ func createRepoIndexer(path string, latestVersion int) error { "type": custom.Name, "char_filters": []string{}, "tokenizer": unicode.Name, - "token_filters": []string{unicodeNormalizeName, lowercase.Name, unique.Name}, + "token_filters": []string{unicodeNormalizeName, lowercase.Name}, }); err != nil { return err } |