From 5dbf36f356e67c6eb7df68727417702fa100bec5 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 13 Feb 2020 14:06:17 +0800 Subject: Issue search support elasticsearch (#9428) * Issue search support elasticsearch * Fix lint * Add indexer name on app.ini * add a warnning on SearchIssuesByKeyword * improve code --- integrations/mysql.ini.tmpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'integrations') diff --git a/integrations/mysql.ini.tmpl b/integrations/mysql.ini.tmpl index 4dde212798..304434dbd6 100644 --- a/integrations/mysql.ini.tmpl +++ b/integrations/mysql.ini.tmpl @@ -10,6 +10,8 @@ PASSWD = {{TEST_MYSQL_PASSWORD}} SSL_MODE = disable [indexer] +ISSUE_INDEXER_TYPE = elasticsearch +ISSUE_INDEXER_CONN_STR = http://elastic:changeme@elasticsearch:9200 ISSUE_INDEXER_PATH = integrations/indexers-mysql/issues.bleve REPO_INDEXER_ENABLED = true REPO_INDEXER_PATH = integrations/indexers-mysql/repos.bleve -- cgit v1.2.3