docs: def collect_analysis(using):
      """
      generate the analysis settings from Python land
      """
      python_analysis = defaultdict(dict)
      for index in registry.indexes_for_connection(using):
          python_analysis.update(index._doc_type.mapping._collect_analysis())
  
      return stringer(python_analysis)