diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-02-21 13:01:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 13:01:28 +0800 |
commit | 477ef462510d69a8a31e008fb6e64059dc6cc148 (patch) | |
tree | 2c7884ad454e6301d71e6f5ed3fc2247a190dedc /modules/setting/indexer.go | |
parent | 0751153613bfd2e39cf28e83bbe04b76641d222f (diff) | |
download | gitea-477ef462510d69a8a31e008fb6e64059dc6cc148.tar.gz gitea-477ef462510d69a8a31e008fb6e64059dc6cc148.zip |
Add more tests and docs for issue indexer, add db indexer type for searching from database (#6144)
* add more tests and docs for issue indexer, add db indexer type for searching from database
* fix typo
* fix typo
* fix lint
* improve docs
Diffstat (limited to 'modules/setting/indexer.go')
-rw-r--r-- | modules/setting/indexer.go | 1 |
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) |