MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / build_indices

Method build_indices

tests/flow/test_index_updates.py:39–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37 redis_graph.commit()
38
39 def build_indices(self):
40 for field in fields:
41 create_node_exact_match_index(redis_graph, 'label_a', field)
42 create_node_exact_match_index(redis_graph, 'label_b', field)
43 wait_for_indices_to_sync(redis_graph)
44
45 # Validate that all properties are indexed
46 def validate_indexed(self):

Callers 1

__init__Method · 0.95

Calls 2

wait_for_indices_to_syncFunction · 0.85

Tested by

no test coverage detected