mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 02:08:36 +00:00
[Vendor] blevesearch v0.8.1 -> v1.0.7 (#11360)
* Update blevesearch v0.8.1 -> v1.0.7 * make vendor Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
3
vendor/github.com/blevesearch/bleve/index/upsidedown/upsidedown.go
generated
vendored
3
vendor/github.com/blevesearch/bleve/index/upsidedown/upsidedown.go
generated
vendored
@@ -820,7 +820,8 @@ func (udc *UpsideDownCouch) Batch(batch *index.Batch) (err error) {
|
||||
|
||||
if numUpdates > 0 {
|
||||
go func() {
|
||||
for _, doc := range batch.IndexOps {
|
||||
for k := range batch.IndexOps {
|
||||
doc := batch.IndexOps[k]
|
||||
if doc != nil {
|
||||
aw := index.NewAnalysisWork(udc, doc, resultChan)
|
||||
// put the work on the queue
|
||||
|
Reference in New Issue
Block a user