mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-15 12:57:38 -04:00
fix(search): open-search engine interface compatibility
This commit is contained in:
@@ -260,6 +260,14 @@ func (e *Engine) DocCount() (uint64, error) {
|
||||
return uint64(resp.Count), nil
|
||||
}
|
||||
|
||||
func (e *Engine) StartBatch(_ int) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (e *Engine) EndBatch() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (e *Engine) deleteResource(id string, deleted bool) error {
|
||||
resource, err := e.getResource(id)
|
||||
if err != nil {
|
||||
|
||||
@@ -18,6 +18,8 @@ import (
|
||||
"github.com/opencloud-eu/reva/v2/pkg/token"
|
||||
"github.com/opencloud-eu/reva/v2/pkg/token/manager/jwt"
|
||||
"github.com/opencloud-eu/reva/v2/pkg/utils"
|
||||
opensearchgo "github.com/opensearch-project/opensearch-go/v4"
|
||||
opensearchgoAPI "github.com/opensearch-project/opensearch-go/v4/opensearchapi"
|
||||
merrors "go-micro.dev/v4/errors"
|
||||
"go-micro.dev/v4/metadata"
|
||||
grpcmetadata "google.golang.org/grpc/metadata"
|
||||
|
||||
Reference in New Issue
Block a user