class_docstr: Class for building and working with Online Hierarchical Navigable Small World index.
class_docstr_tok: ["Class","for","building","and","working","with","Online","Hierarchical","Navigable","Small","World","index","."]
docstr: Add item in index.
  
  Parameters
  ----------
  item : list or numpy.ndarray
      Vector which should be added in index.
docstr_tok: ["Add","item","in","index",".","Parameters","--","--","--","--","--","item",":","list","or","numpy.ndarray","Vector","which","should","be","added","in","index","."]
code: def add_item(self, item):
      """
      Add item in index.
  
      Parameters
      ----------
      item : list or numpy.ndarray
          Vector which should be added in index.
      """
      self._online_index._add_item(item)
  
imports: import sys
  import os
  from six import iteritems
  from enum import IntEnum
  from contextlib import contextmanager
  import json
label_desc: Use image node_id 4 for calling the OnlineHnsw obj's underlying member method code with example usage: obj.add_item(item) without return types