aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/indexer.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/indexer.go')
-rw-r--r--modules/setting/indexer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/setting/indexer.go b/modules/setting/indexer.go
index 245ebb0496..0e09ed2b86 100644
--- a/modules/setting/indexer.go
+++ b/modules/setting/indexer.go
@@ -38,6 +38,7 @@ var (
func newIndexerService() {
sec := Cfg.Section("indexer")
+ Indexer.IssueType = sec.Key("ISSUE_INDEXER_TYPE").MustString("bleve")
Indexer.IssuePath = sec.Key("ISSUE_INDEXER_PATH").MustString(path.Join(AppDataPath, "indexers/issues.bleve"))
if !filepath.IsAbs(Indexer.IssuePath) {
Indexer.IssuePath = path.Join(AppWorkPath, Indexer.IssuePath)