class_docstr: Searching by similarity.
class_docstr_tok: ["Searching","by","similarity","."]
code: def __init__(self, indexer: index.Indexer):
      self.index = indexer
  
file_path: lit/lit_nlp/components/similarity_searcher.py
imports: from typing import Optional
  from lit_nlp.api import components
  from lit_nlp.api import dataset
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.components import index
  from lit_nlp.lib import utils
label_desc: Use image node_id 1 to create a new SimilaritySearcher object from inherited base classes: lit_components with example: obj = SimilaritySearcher(indexer)