mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Update to last common bleve (#3986)
This commit is contained in:
		
				
					committed by
					
						
						Lunny Xiao
					
				
			
			
				
	
			
			
			
						parent
						
							1b7cd3d0b0
						
					
				
				
					commit
					917b9641ec
				
			
							
								
								
									
										10
									
								
								vendor/github.com/blevesearch/bleve/index/analysis.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/github.com/blevesearch/bleve/index/analysis.go
									
									
									
										generated
									
									
										vendored
									
									
								
							@@ -14,7 +14,10 @@
 | 
			
		||||
 | 
			
		||||
package index
 | 
			
		||||
 | 
			
		||||
import "github.com/blevesearch/bleve/document"
 | 
			
		||||
import (
 | 
			
		||||
	"github.com/blevesearch/bleve/analysis"
 | 
			
		||||
	"github.com/blevesearch/bleve/document"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type IndexRow interface {
 | 
			
		||||
	KeySize() int
 | 
			
		||||
@@ -29,6 +32,11 @@ type IndexRow interface {
 | 
			
		||||
type AnalysisResult struct {
 | 
			
		||||
	DocID string
 | 
			
		||||
	Rows  []IndexRow
 | 
			
		||||
 | 
			
		||||
	// scorch
 | 
			
		||||
	Document *document.Document
 | 
			
		||||
	Analyzed []analysis.TokenFrequencies
 | 
			
		||||
	Length   []int
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type AnalysisWork struct {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user