Skip to content

Commit

Permalink
Add DeleteDocumentsByFilter to IndexInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
yuku committed Feb 16, 2024
1 parent 3310833 commit 8bc0240
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ type IndexInterface interface {
GetDocuments(param *DocumentsQuery, resp *DocumentsResult) error
DeleteDocument(uid string) (resp *TaskInfo, err error)
DeleteDocuments(uid []string) (resp *TaskInfo, err error)
DeleteDocumentsByFilter(filter interface{}) (resp *TaskInfo, err error)
DeleteAllDocuments() (resp *TaskInfo, err error)
Search(query string, request *SearchRequest) (*SearchResponse, error)
SearchRaw(query string, request *SearchRequest) (*json.RawMessage, error)
Expand Down

0 comments on commit 8bc0240

Please sign in to comment.