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

Method build_indices

tests/flow/test_index_scans.py:24–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 self.env.cmd('flushall')
23
24 def build_indices(self):
25 redis_graph.query("CREATE INDEX ON :person(age)")
26 redis_graph.query("CREATE INDEX ON :country(name)")
27 wait_for_indices_to_sync(redis_graph)
28
29 # Validate that Cartesian products using index and label scans succeed
30 def test01_cartesian_product_mixed_scans(self):

Callers 1

setUpMethod · 0.95

Calls 2

wait_for_indices_to_syncFunction · 0.85
queryMethod · 0.45

Tested by

no test coverage detected