SearchServiceManagerDeleteDocuments Method |
Deletes documents from the index.
Namespace: CMS.Search.AzureAssembly: CMS.Search.Azure (in CMS.Search.Azure.dll) Version: 12.0.0
Syntax public virtual void DeleteDocuments(
string indexName,
string keyName,
IEnumerable<string> keyValues
)
Parameters
- indexName
- Type: SystemString
Name of the Azure index. - keyName
- Type: SystemString
Name of the field by which documents will be deleted. - keyValues
- Type: System.Collections.GenericIEnumerableString
Defines for which values in the keyName field, documents will be deleted.
See Also