We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8282697 commit 24ed1b5Copy full SHA for 24ed1b5
modules/indexer/issues/indexer.go
@@ -171,7 +171,7 @@ func InitIssueIndexer(syncReindex bool) {
171
log.Debug("Created Bleve Indexer")
172
case "elasticsearch":
173
graceful.GetManager().RunWithShutdownFns(func(_, atTerminate func(context.Context, func())) {
174
- issueIndexer, err := NewElasticSearchIndexer(setting.Indexer.IssueConnStr, "gitea_issues")
+ issueIndexer, err := NewElasticSearchIndexer(setting.Indexer.IssueConnStr, setting.Indexer.IssueIndexerName)
175
if err != nil {
176
log.Fatal("Unable to initialize Elastic Search Issue Indexer at connection: %s Error: %v", setting.Indexer.IssueConnStr, err)
177
}
0 commit comments