(graph, relation, *properties, sync=False)
| 38 | return _create_index(graph, q, label, "exact-match", sync) |
| 39 | |
| 40 | def 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 | |
| 44 | def create_fulltext_index(graph, label, *properties, sync=False): |
| 45 | q = f"CALL db.idx.fulltext.createNodeIndex('{label}', " |