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

Function Index_Enabled

src/index/index.c:567–574  ·  view source on GitHub ↗

returns true if index doesn't contains any pending changes

Source from the content-addressed store, hash-verified

565
566// returns true if index doesn't contains any pending changes
567bool Index_Enabled
568(
569 const Index idx // index to get state of
570) {
571 ASSERT(idx != NULL);
572
573 return idx->pending_changes == 0;
574}
575
576// returns RediSearch index
577RSIndex *Index_RSIndex

Callers 9

_indexer_idx_populateFunction · 0.85
Indexer_PopulateIndexFunction · 0.85
Index_CloneFunction · 0.85
Index_PopulateFunction · 0.85
Schema_ActivateIndexFunction · 0.85
reduce_scan_opFunction · 0.85
_EmitIndexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected