class_docstr: Helper class that creates a search index based on the doctrees
  passed to the `feed` method.
class_docstr_tok: ["Helper","class","that","creates","a","search","index","based","on","the","doctrees","passed","to","the","`","feed","`","method","."]
docstr: Dump the frozen index to a stream.
docstr_tok: ["Dump","the","frozen","index","to","a","stream","."]
code: def dump(self, stream: IO, format: Any) -> None:
      """Dump the frozen index to a stream."""
      if isinstance(format, str):
          format = self.formats[format]
      format.dump(self.freeze(), stream)
  
imports: from __future__ import annotations
  import dataclasses
  import functools
  import html
  import json
  import pickle
  import re
  from importlib import import_module
  from os import path
  from typing import IO, TYPE_CHECKING, Any
  from docutils import nodes
  from docutils.nodes import Element, Node
  from sphinx import addnodes, package_dir
  from sphinx.environment import BuildEnvironment
  from sphinx.util.index_entries import split_index_msg
  from sphinx.search.en import SearchEnglish
label_desc: Use image node_id 3 for calling the IndexBuilder obj's underlying member method code with example usage: obj.dump(stream, format) without return types