mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-29 10:57:44 +09:00 
			
		
		
		
	Improve issue search (#2387)
* Improve issue indexer * Fix new issue sqlite bug * Different test indexer paths for each db * Add integration indexer paths to make clean
This commit is contained in:
		
							
								
								
									
										7
									
								
								vendor/github.com/blevesearch/bleve/mapping/index.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/github.com/blevesearch/bleve/mapping/index.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -289,7 +289,12 @@ func (im *IndexMappingImpl) UnmarshalJSON(data []byte) error { | ||||
| } | ||||
|  | ||||
| func (im *IndexMappingImpl) determineType(data interface{}) string { | ||||
| 	// first see if the object implements Classifier | ||||
| 	// first see if the object implements bleveClassifier | ||||
| 	bleveClassifier, ok := data.(bleveClassifier) | ||||
| 	if ok { | ||||
| 		return bleveClassifier.BleveType() | ||||
| 	} | ||||
| 	// next see if the object implements Classifier | ||||
| 	classifier, ok := data.(Classifier) | ||||
| 	if ok { | ||||
| 		return classifier.Type() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user