@@ -133,14 +133,19 @@ labels and properties inside the `MATCH` pattern.
133
133
134
134
### Edge-type index
135
135
136
- To optimize queries that fetch only the edges by specific edge-types, you need to create an edge-type index.
137
-
138
136
<Callout type = " warning" >
137
+ We've identified a ** critical issue** with edge-type indexes during
138
+ rollbacks/aborts. The current behavior is inherently unsafe.
139
139
140
- Creating an edge-type index requires the --storage-properties-on-edges flag to be set to true!
141
-
140
+ ** Avoid using edge-type indexes for now** . A safer, more reliable version is
141
+ expected in the next release by the end of January 2025. We appreciate your
142
+ understanding and patience.
142
143
</Callout >
143
144
145
+ To optimize queries that fetch only the edges by specific edge-types, you need
146
+ to create an edge-type index. Creating an edge-type index requires the
147
+ ` --storage-properties-on-edges ` flag to be set to true.
148
+
144
149
``` cypher
145
150
CREATE EDGE INDEX ON :EDGE_TYPE;
146
151
```
@@ -161,6 +166,15 @@ Named parameters are not supported for edge-type indexes.
161
166
162
167
### Edge-type property index
163
168
169
+ <Callout type = " warning" >
170
+ We've identified a ** critical issue** with edge-type property indexes during
171
+ rollbacks/aborts. The current behavior is inherently unsafe.
172
+
173
+ ** Avoid using edge-type property indexes for now** . A safer, more reliable version is
174
+ expected in the next release by the end of January 2025. We appreciate your
175
+ understanding and patience.
176
+ </Callout >
177
+
164
178
To optimize queries that fetch only the edges by specific edge types and properties, you need to create an edge-type property index.
165
179
166
180
<Callout type = " warning" >
0 commit comments