def AddIndex(self, target):
    if "w" not in self.mode:
      raise IOError("FileStoreImage %s is not in write mode.", self.urn)
    predicate = ("index:target:%s" % target).lower()
    data_store.DB.MultiSet(self.urn, {predicate: target}, token=self.token,
                           replace=True, sync=False)
Apply incoming copying manipulators to `son`.
dataset/ETHPy150Open google/grr/grr/lib/aff4_objects/filestore.py/FileStoreImage.AddIndex--crossover with--dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/database.py/Database._apply_incoming_copying_manipulators