original_docstring: 
          add an hash index on the given fields
  
          :param collection: the collection where we need to create the index
          :param fields: the fields of the documents
          :param unique: true if you want to say that the values on the fields are unique
          :return:
          
docstring: add an hash index on the given fields
docstring_tokens: add an hash index on the given fields
code: def add_hash_index_on_field(self, collection: StandardCollection, fields: List[str], unique: bool):
          """
          add an hash index on the given fields
  
          :param collection: the collection where we need to create the index
          :param fields: the fields of the documents
          :param unique: true if you want to say that the values on the fields are unique
          :return:
          """
          collection.add_hash_index(fields=fields, unique=unique)
code_tokens: def add_hash_index_on_field ( self , collection : StandardCollection , fields : List [ str ] , unique : bool ) : collection . add_hash_index ( fields = fields , unique = unique )
short_docstring: add an hash index on the given fields
short_docstring_tokens: add an hash index on the given fields
comment: """
          add an hash index on the given fields
  
          :param collection: the collection where we need to create the index
          :param fields: the fields of the documents
          :param unique: true if you want to say that the values on the fields are unique
          :return:
          """