class_docstr: Takes in a record and returns all blocks that record belongs to
class_docstr_tok: ["Takes","in","a","record","and","returns","all","blocks","that","record","belongs","to"]
docstr: Remove docs from indices used by fingerprinters
  
  Args:
      docs: an iterator of values from your data to remove. While
            not required, it is recommended that docs be a unique
            set of of those values. Indexing can be an expensive
            operation.
      field: fieldname or key associated with the values you are
             unindexing
docstr_tok: ["Remove","docs","from","indices","used","by","fingerprinters","Args",":","docs",":","an","iterator","of","values","from","your","data","to","remove",".","While","not","required",",","it","is","recommended","that","docs","be","a","unique","set","of","of","those","values",".","Indexing","can","be","an","expensive","operation",".","field",":","fieldname","or","key","associated","with","the","values","you","are","unindexing"]
code: def unindex(self, docs: Docs, field: str) -> None:
      """Remove docs from indices used by fingerprinters
  
      Args:
          docs: an iterator of values from your data to remove. While
                not required, it is recommended that docs be a unique
                set of of those values. Indexing can be an expensive
                operation.
          field: fieldname or key associated with the values you are
                 unindexing
      """
  
      indices = extractIndices(self.index_fields[field])
  
      for doc in docs:
          if doc:
              for _, index, preprocess in indices:
                  try:
                      index.unindex(preprocess(doc))
                  except KeyError:
                      pass
  
      for index_type, index, _ in indices:
          index.initSearch()
  
          for predicate in self.index_fields[field][index_type]:
              logger.debug("Canopy: %s", str(predicate))
              predicate.index = index
              predicate.bust_cache()
  
file_path: dedupe/dedupe/blocking.py
imports: from __future__ import annotations
  import logging
  import time
  from collections import defaultdict
  from typing import TYPE_CHECKING
label_desc: Use image node_id 5 for calling the Fingerprinter obj's underlying member method code with example usage: obj.unindex(docs, field) without return types