diff --git a/src/lib/data/indexer/TaskExecuteCustomCommands.cpp b/src/lib/data/indexer/TaskExecuteCustomCommands.cpp index 5e120f98..4a89976b 100644 --- a/src/lib/data/indexer/TaskExecuteCustomCommands.cpp +++ b/src/lib/data/indexer/TaskExecuteCustomCommands.cpp @@ -363,7 +363,7 @@ void TaskExecuteCustomCommands::runPythonPostProcessing(PersistentStorage& stora storage.addElementComponent(StorageElementComponent(ambiguousEdgeIds[i], elementComponentKindToInt(ElementComponentKind::IS_AMBIGUOUS), L"")); storage.addOccurrence(StorageOccurrence(ambiguousEdgeIds[i], dataToInsert[i].sourceLocationId)); } - + storage.setMode(SqliteIndexStorage::STORAGE_MODE_CLEAR); storage.removeElements(utility::toVector(elementsToDelete)); storage.finishInjection(); LOG_INFO("Finished Python post processing.");