code: def reindex_request(analysis, idxs=None):
      
      if not IRequestAnalysis.providedBy(analysis) or \
              IDuplicateAnalysis.providedBy(analysis):
          # Analysis not directly bound to an Analysis Request. Do nothing
          return
  
      n_idxs = ['assigned_state', 'getDueDate']
      n_idxs = idxs and list(set(idxs + n_idxs)) or n_idxs
      request = analysis.getRequest()
      ancestors = [request] + request.getAncestors(all_ancestors=True)
      for ancestor in ancestors:
          push_reindex_to_actions_pool(ancestor, n_idxs)
docs: Reindex the Analysis Request the analysis belongs to, as well as the
      ancestors recursively