To remove several results from the reply set, use afs_facet_update binary with the following options and a describing file:
- -p [reply_db_path] : path to the reply databases ('db' directory),
- -u [update_file] : path to the file describing the updates to perform.
Example, for the service 42 in stable status, remove the results associated to the docId 1 and 2:
afs_facet_update -p /usr/local/afs7/reply/42/stable -u $AFS7/my_update_file.xml
Describing file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <afs:facets xmlns:afs="http://ref.antidot.net/v7/afs">
<afs:facet id="afs:validity">
<afs:update doc_id="1" value="false"/>
<afs:update doc_id="2" value="false"/>
</afs:facet>
</afs:facets>