Click or drag to resize

IAlgoliaDeleteBy Method

Remove all objects matching a filter (including geo filters). This method enables you to delete one or more objects based on filters(numeric, facet, tag or geo queries). It does not accept empty filters or a query. If you have a way to fetch the list of objectIDs you want to delete, use the delete method instead as it is more performant. The delete by method only counts as 1 operation - even if it deletes more than one object. This is exceptional; most indexing options that affect more than one object normally count each object as a separate operation. When deleting large numbers of objects, or large sizes, be aware of our rate limit.You’ll know you’ve reached the rate limit when you start receiving errors on your indexing operations.This can only be resolved if you wait before sending any further indexing operations.

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
void DeleteBy(
	string indexName,
	AlgoliaQuery query
)

Parameters

indexName
Type: SystemString
The name of the index.
query
Type: NetQuarry.ServicesAlgoliaQuery
The query parameters where the resultant search hits will be deleted.
See Also