mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Issue search support elasticsearch (#9428)
* Issue search support elasticsearch * Fix lint * Add indexer name on app.ini * add a warnning on SearchIssuesByKeyword * improve code
This commit is contained in:
		@@ -170,7 +170,7 @@ func NewBleveIndexer(indexDir string) *BleveIndexer {
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Init will initial the indexer
 | 
			
		||||
// Init will initialize the indexer
 | 
			
		||||
func (b *BleveIndexer) Init() (bool, error) {
 | 
			
		||||
	var err error
 | 
			
		||||
	b.indexer, err = openIndexer(b.indexDir, issueIndexerLatestVersion)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user