class_docstr: IndexDefinition is used to define a index definition for automatic
  indexing on Hash or Json update.
class_docstr_tok: ["IndexDefinition","is","used","to","define","a","index","definition","for","automatic","indexing","on","Hash","or","Json","update","."]
code: def __init__(
      self,
      prefix=[],
      filter=None,
      language_field=None,
      language=None,
      score_field=None,
      score=1.0,
      payload_field=None,
      index_type=None,
  ):
      self.args = []
      self._append_index_type(index_type)
      self._append_prefix(prefix)
      self._append_filter(filter)
      self._append_language(language_field, language)
      self._append_score(score_field, score)
      self._append_payload(payload_field)
  
file_path: catboost/contrib/python/redis/py3/redis/commands/search/indexDefinition.py
imports: from enum import Enum
label_desc: Use image node_id 1 to create a new IndexDefinition object  with example: obj = IndexDefinition(prefix, filter, language_field, language, score_field, score, payload_field, index_type)