Deletes a specified subtree from the data source tree, as specified by the foreign id of the path segment to remove.
An exception is thrown if the specified path does not exist.
Namespace: Ankiro.SearchServer.Web.ServicesAssembly: Ankiro.SearchServer.Web (in Ankiro.SearchServer.Web.dll) Version: 1.13.770.19253 (1.13.770.19253)
Syntax
Parameters
- dataSourceId
- Type: System Int32
The id of the data source.
- foreignId
- Type: System String
The foreign id of the path segment to delete.
- deleteOrphanedDocuments
- Type: System Boolean
Controls whether documents belonging to deleted path segments are also removed. The method does not commit this change. Rather, Commit() or CommitFullUpdate() should be invoked subsequently to complete the document deletion.
See Also