tigris
tigris copied to clipboard
Deleting documents by query on Search Index fails with 500
Server returns 500: Internal Server Error
when attempting to delete indexed documents by query.
https://github.com/tigrisdata/tigris-api/blob/main/server/v1/search.proto#L416-L425
rpc DeleteByQuery(DeleteByQueryRequest) returns (DeleteByQueryResponse){
option (google.api.http) = {
delete : "/v1/projects/{project}/search/indexes/{index}/documents/deleteByQuery"
body : "*"
};
option(openapi.v3.operation) = {
summary: "Delete documents by query"
tags: "Search"
};
}
Deletion by id
works as expected.
@himank fyi
Probably filters are not parsed properly.
@adilansari can you also add an example? Would be good to debug.