mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-24 18:10:52 +00:00
Upgrade bleve from v2.0.6 to v2.3.0 (#18132)
This commit is contained in:
parent
1a4e2bfcd1
commit
25a290e320
70 changed files with 1283 additions and 660 deletions
13
vendor/github.com/blevesearch/bleve/v2/index.go
generated
vendored
13
vendor/github.com/blevesearch/bleve/v2/index.go
generated
vendored
|
@ -16,6 +16,7 @@ package bleve
|
|||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/blevesearch/bleve/v2/index/upsidedown"
|
||||
|
||||
"github.com/blevesearch/bleve/v2/document"
|
||||
|
@ -306,3 +307,15 @@ type Builder interface {
|
|||
func NewBuilder(path string, mapping mapping.IndexMapping, config map[string]interface{}) (Builder, error) {
|
||||
return newBuilder(path, mapping, config)
|
||||
}
|
||||
|
||||
// IndexCopyable is an index which supports an online copy operation
|
||||
// of the index.
|
||||
type IndexCopyable interface {
|
||||
// CopyTo creates a fully functional copy of the index at the
|
||||
// specified destination directory implementation.
|
||||
CopyTo(d index.Directory) error
|
||||
}
|
||||
|
||||
// FileSystemDirectory is the default implementation for the
|
||||
// index.Directory interface.
|
||||
type FileSystemDirectory string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue