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","."]
docstr: Append FILTER.
docstr_tok: ["Append","FILTER","."]
code: def _append_filter(self, filter):
      """Append FILTER."""
      if filter is not None:
          self.args.append("FILTER")
          self.args.append(filter)
  
file_path: catboost/contrib/python/redis/py3/redis/commands/search/indexDefinition.py
imports: from enum import Enum
label_desc: Use image node_id 4 for calling the IndexDefinition obj's underlying member method code with example usage: obj._append_filter(filter) without return types