summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/indexer/code/bleve.go2
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
}