diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2022-01-01 16:26:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-01 16:26:27 +0800 |
commit | 25a290e320de630eaf8ef4e56bb435c1ecfe1032 (patch) | |
tree | df450bc27eed27236f78661ca141c686d4fe8863 /modules | |
parent | 1a4e2bfcd115ada6cb859cb87964c227e0e082b9 (diff) | |
download | gitea-25a290e320de630eaf8ef4e56bb435c1ecfe1032.tar.gz gitea-25a290e320de630eaf8ef4e56bb435c1ecfe1032.zip |
Upgrade bleve from v2.0.6 to v2.3.0 (#18132)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/indexer/code/bleve.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/indexer/code/bleve.go b/modules/indexer/code/bleve.go index 25cb8bf5c9..3a44a8dc05 100644 --- a/modules/indexer/code/bleve.go +++ b/modules/indexer/code/bleve.go @@ -424,7 +424,7 @@ func (b *BleveIndexer) Search(repoIDs []int64, language, keyword string, page, p } languagesFacet := result.Facets["languages"] - for _, term := range languagesFacet.Terms { + for _, term := range languagesFacet.Terms.Terms() { if len(term.Term) == 0 { continue } |