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

Function create_edge_exact_match_index

tests/flow/index_utils.py:40–42  ·  view source on GitHub ↗
(graph, relation, *properties, sync=False)

Source from the content-addressed store, hash-verified

38 return _create_index(graph, q, label, "exact-match", sync)
39
40def create_edge_exact_match_index(graph, relation, *properties, sync=False):
41 q = f"CREATE INDEX for ()-[r:{relation}]->() on (" + ','.join(map('r.{0}'.format, properties)) +")"
42 return _create_index(graph, q, relation, "exact-match", sync)
43
44def create_fulltext_index(graph, label, *properties, sync=False):
45 q = f"CALL db.idx.fulltext.createNodeIndex('{label}', "

Calls 1

_create_indexFunction · 0.85