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

Function Index_RemoveNode

src/index/index_node.c:47–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void Index_RemoveNode
48(
49 Index idx, // index to update
50 const Node *n // node to remove from index
51) {
52 ASSERT(n != NULL);
53 ASSERT(idx != NULL);
54
55 EntityID id = ENTITY_GET_ID(n);
56 RSIndex *rsIdx = Index_RSIndex(idx);
57
58 RediSearch_DeleteDocument(rsIdx, &id, sizeof(EntityID));
59}
60

Callers 2

Index_IndexNodeFunction · 0.85

Calls 1

Index_RSIndexFunction · 0.85

Tested by

no test coverage detected