MCPcopy
hub / github.com/redis/redis-py / NumericField

Class NumericField

redis/commands/search/field.py:112–118  ·  redis/commands/search/field.py::NumericField

NumericField is used to define a numeric field in a schema definition

Source from the content-addressed store, hash-verified

110
111
112class NumericField(Field):
113 class="st">"""
114 NumericField is used to define a numeric field in a schema definition
115 class="st">"""
116
117 def __init__(self, name: str, **kwargs):
118 Field.__init__(self, name, args=[Field.NUMERIC], **kwargs)
119
120
121class GeoShapeField(Field):

Callers 15

search_vss.pyFile · 0.90
home_json.pyFile · 0.90
query_agg.pyFile · 0.90
query_em.pyFile · 0.90
query_range.pyFile · 0.90
query_combined.pyFile · 0.90
createIndexMethod · 0.90
test_filtersMethod · 0.90
test_sort_byMethod · 0.90
test_no_indexMethod · 0.90
test_fields_as_nameMethod · 0.90

Calls

no outgoing calls

Tested by 15

createIndexMethod · 0.72
test_filtersMethod · 0.72
test_sort_byMethod · 0.72
test_no_indexMethod · 0.72
test_fields_as_nameMethod · 0.72
test_dialectMethod · 0.72