afs:addDocId - AFS

AFS Integration Guide

Product
AFS
AFS_Version
7.7
Category
Reference Guide

The reply set can be constructed from scratch with user-supplied documents.

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

Example

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

builds a reply set with documents 4, 10, and 243.

Another way to write it is:

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

This can be useful to tag or filter a given set of documents with AFS.

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.