To Live Remove One Result - AFS

AFS Live Result Removal

Product
AFS
Category
Technical Notes
language
English
audience
public

To remove one result from the reply set, use afs_facet_update binary with the following options:

  • -p [reply_db_path] : path to the reply databases ('db' directory),
  • -f [facet_id] : name of the facet to update with a new value,
  • -d [doc_id] : docId of the document to update,
  • -s [new_value] : new value of the facet facet_id for the document doc_id.

Example, for the service 42 in stable status, remove the result associated to the docId 457:

afs_facet_update -p /usr/local/afs7/reply/42/stable -f afs:validity -d 457 -s false