afs:removeDocId - AFS

AFS Integration Guide

Product
AFS
AFS_Version
7.7
Category
Reference Guide

The reply set can be filtered by removing user-supplied documents.

afs:removeDocId parameter value is a comma-separated list of document identifiers.

Example

http://.../search?afs:service=....&afs:removeDocId=4,10,243 [^]

removes documents 4, 10, and 243 from the reply set.

Another way to write it is:

http://.../search?afs:service=....&afs:filter=removeDocId(4,10,243)

The list of values is made of document identifiers (afs:docId) and not of document URIs.

As with every "long" URL, the use of the POST method might be needed if the list of values is large.