mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-21 17:00:01 +02:00
go1.16 (#14783)
This commit is contained in:
parent
030646eea4
commit
47f6a4ec3f
947 changed files with 26119 additions and 7062 deletions
6
vendor/github.com/blevesearch/zapx/v12/dict.go
generated
vendored
6
vendor/github.com/blevesearch/zapx/v12/dict.go
generated
vendored
|
@ -19,8 +19,8 @@ import (
|
|||
|
||||
"github.com/RoaringBitmap/roaring"
|
||||
index "github.com/blevesearch/bleve_index_api"
|
||||
segment "github.com/blevesearch/scorch_segment_api"
|
||||
"github.com/couchbase/vellum"
|
||||
segment "github.com/blevesearch/scorch_segment_api/v2"
|
||||
"github.com/blevesearch/vellum"
|
||||
)
|
||||
|
||||
// Dictionary is the zap representation of the term dictionary
|
||||
|
@ -106,7 +106,7 @@ func (d *Dictionary) Contains(key []byte) (bool, error) {
|
|||
|
||||
// AutomatonIterator returns an iterator which only visits terms
|
||||
// having the the vellum automaton and start/end key range
|
||||
func (d *Dictionary) AutomatonIterator(a vellum.Automaton,
|
||||
func (d *Dictionary) AutomatonIterator(a segment.Automaton,
|
||||
startKeyInclusive, endKeyExclusive []byte) segment.DictionaryIterator {
|
||||
if d.fst != nil {
|
||||
rv := &DictionaryIterator{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue