File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ choice may cause queries to perform poorly.
214214
215215### Schema-related procedures
216216
217- You can [ delete all node indexes ] ( #delete-all-node-indexes ) or modify them using the [ ` schema.assert() ` procedure] ( /querying/schema#assert ) .
217+ You can modify indexes using the [ ` schema.assert() ` procedure] ( /querying/schema#assert ) .
218218
219219### Speed comparison
220220
@@ -285,6 +285,11 @@ Once all transactions have finished, the index will be deleted.
285285
286286### Delete all node indexes
287287
288+ <Callout type = " warning" >
289+ The ` schema.assert() ` procedure will not drop edge-type and point indexes.
290+ Our plan is to update it, and you can track the progress on our [ GitHub] ( https://github.com/memgraph/memgraph/issues/2462 ) .
291+ </Callout >
292+
288293To delete all indexes, use the [ ` schema.assert() ` ] ( /querying/schema#assert ) procedure with the following parameters:
289294- ` indices_map ` = ` {} `
290295- ` unique_constraints ` = map of key-value pairs of all uniqueness constraints in the database
Original file line number Diff line number Diff line change @@ -434,7 +434,13 @@ Results:
434434
435435#### Delete all node indexes
436436
437- The ` assert() ` procedure can be used to delete all indexes and constraints, ** except for edge-type indices** . By
437+ <Callout type = " warning" >
438+ The ` schema.assert() ` procedure will not drop edge-type and point indexes.
439+ Our plan is to update it, and you can track the progress on our [ GitHub] ( https://github.com/memgraph/memgraph/issues/2462 ) .
440+ </Callout >
441+
442+
443+ The ` assert() ` procedure can be used to delete all indexes and constraints. By
438444providing empty ` indices_map ` , ` unique_constraints ` and ` existence_constraints ` as
439445well as ` drop_existing ` set to ` true ` , ensure that there are no indexes or
440446constraints in the database. Here is the query for deleting all indexes and constraints:
You can’t perform that action at this time.
0 commit comments