Web Service Method: Delete Entries from Search Index with Identical Name

Description

This API call deletes all existing entries from the search index identified by the same source name.

Note

This method is mainly used to delete a group of indexed documents created by RSS Agents.

Find more information here: Web Feeds Service.

URL: /api/content/delete/source

Request

Supported Method

POST

Content-Type

application/x-www-form-urlencoded

HTTP Request Parameters

Parameter

Description

Type

Required

source

Source name of the documents to be deleted from the search index

String

true

searchSpaceId

Identifier of the target SearchSpace

String

true

Note

If you do not specify a searchSpaceId, the return will list results for the default Search Space.

Response

Content Type

text/plain

Status: 200 - OK

Example

Delete all records from the search index created from the source named 'BBC'.

POST /GraphSearch/api/content/delete/source?source=BBC&searchSpaceId=1321f5a1-3ee9-4317-a33a-65d6cfa5ce40
Content-Type: application/x-www-form-urlencoded