You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/22ND3.adoc
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
= 22ND3
2
2
3
3
== Status description
4
-
error: data exception - wrong property for vector search filtering. The property `{ <<propKey>> }` has not been added as an additional property for the vector index `{ <<idx>> }`.
4
+
error: data exception - wrong property for vector search filtering. The property `{ <<propKey>> }` has not been added as an additional property to the vector index `{ <<idx>> }`.
5
5
6
6
== Example scenario
7
-
For example, assuming that you have a vector index created by
7
+
For example, assuming that you have a vector index created by the following command:
8
8
9
9
[source,cypher]
10
10
----
@@ -14,7 +14,7 @@ FOR (m:Movie) ON m.embedding
14
14
WITH [m.rating]
15
15
----
16
16
17
-
When using another property key than `rating` in a vector search filter:
17
+
When using a property key other than `rating` in a vector search filter:
18
18
19
19
[source,cypher]
20
20
----
@@ -33,10 +33,11 @@ You will receive an error with GQLSTATUS 22ND3 and status description:
33
33
34
34
[source]
35
35
----
36
-
error: data exception - wrong property for vector search filtering. The property `votes` has not been added as an additional property for the vector index 'moviePlots'.
36
+
error: data exception - wrong property for vector search filtering. The property `votes` has not been added as an additional property to the vector index 'moviePlots'.
37
37
----
38
38
39
39
== Possible solution
40
+
40
41
If you want to use the property `votes` for vector search filtering, it must be an additional property of the vector index.
41
42
This can be achieved by dropping and re-creating the vector index like this:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/42I73.adoc
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
= 42I73
2
2
3
3
== Status description
4
-
error: syntax error or access rule violation - invalid predicate for vector search filtering. A vector search filter must consist of one or more predicates joined by AND, and the combined predicates for each property must specify either an exact value (e.g. x.prop = 1), an open range (e.g. x.prop >= 1), or a between range (e.g. x.prop > 1 AND x.prop < 100). `{ <<expr>> }` does not fulfill this.
4
+
error: syntax error or access rule violation - invalid predicate for vector search filtering. A vector search filter must consist of one or more predicates joined by `AND`, and the combined predicates for each property must specify either an exact value (e.g. `x.prop = 1`), an open range (e.g. `x.prop >= 1`), or a between range (e.g. `x.prop > 1 AND x.prop < 100`). `{ <<expr>> }` does not fulfill this.
5
5
6
6
== Example scenarios
7
-
For example, assuming that you have a vector index created by:
7
+
For example, assuming that you have a vector index created by the following command:
8
8
9
9
[source,cypher]
10
10
----
@@ -14,6 +14,9 @@ FOR (m:Movie) ON m.embedding
14
14
WITH [m.rating]
15
15
----
16
16
17
+
18
+
.Using `NOT` inside a vector search filter
19
+
=====
17
20
When trying to use `NOT` inside a vector search filter:
18
21
19
22
[source,cypher]
@@ -33,9 +36,12 @@ You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001
33
36
34
37
[source]
35
38
----
36
-
error: syntax error or access rule violation - invalid predicate for vector search filtering. A vector search filter must consist of one or more predicates joined by AND, and the combined predicates for each property must specify either an exact value (e.g. x.prop = 1), an open range (e.g. x.prop >= 1), or a between range (e.g. x.prop > 1 AND x.prop < 100). `NOT movie.rating = 8` does not fulfill this.
39
+
error: syntax error or access rule violation - invalid predicate for vector search filtering. A vector search filter must consist of one or more predicates joined by AND, and the combined predicates for each property must specify either an exact value (e.g. `x.prop = 1`), an open range (e.g. `x.prop >= 1`), or a between range (e.g. `x.prop > 1 AND x.prop < 100`). `NOT movie.rating = 8` does not fulfill this.
37
40
----
41
+
=====
38
42
43
+
.Using multiple open ranges on the same property inside a vector search filter
44
+
=====
39
45
When trying to use multiple open ranges on the same property inside a vector search filter:
40
46
41
47
[source,cypher]
@@ -55,8 +61,9 @@ You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001
55
61
56
62
[source]
57
63
----
58
-
error: syntax error or access rule violation - invalid predicate for vector search filtering. A vector search filter must consist of one or more predicates joined by AND, and the combined predicates for each property must specify either an exact value (e.g. x.prop = 1), an open range (e.g. x.prop >= 1), or a between range (e.g. x.prop > 1 AND x.prop < 100). `movie.rating > 6 AND movie.rating > 8` does not fulfill this.
64
+
error: syntax error or access rule violation - invalid predicate for vector search filtering. A vector search filter must consist of one or more predicates joined by AND, and the combined predicates for each property must specify either an exact value (e.g. `x.prop = 1`), an open range (e.g. `x.prop >= 1`), or a between range (e.g. `x.prop > 1 AND x.prop < 100`). `movie.rating > 6 AND movie.rating > 8` does not fulfill this.
59
65
----
66
+
=====
60
67
61
68
== Possible solution
62
69
Certain predicates are possible to rewrite so they adhere to the rules of vector search filtering.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/42I74.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
error: syntax error or access rule violation - wrong variable for vector search filtering. The variable `{ <<variable>>1 }` in a vector search filter property predicate must be the same as the search clause binding variable `{ <<variable>>2 }`.
5
5
6
6
== Example scenario
7
-
For example, assuming that you have a vector index created by:
7
+
For example, assuming that you have a vector index created by the following command:
8
8
9
9
[source,cypher]
10
10
----
@@ -14,7 +14,7 @@ FOR (m:Movie) ON m.embedding
14
14
WITH [m.rating]
15
15
----
16
16
17
-
When trying to use another variable than `movie` in the vector search filter in the following query:
17
+
When trying to use a variable other than `movie` in the vector search filter in the following query:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/42I75.adoc
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
error: syntax error or access rule violation - self-referencing in vector search. The expression `{ <<expr>> }` in the search clause may not depend on the search clause binding variable `{ <<variable>> }`.
5
5
6
6
== Example scenarios
7
-
For example, assuming that you have a vector index created by:
7
+
For example, assuming that you have a vector index created by the following command:
8
8
9
9
[source,cypher]
10
10
----
@@ -14,6 +14,8 @@ FOR (m:Movie) ON m.embedding
14
14
WITH [m.rating]
15
15
----
16
16
17
+
.Using the search binding variable in the `FOR` subclause of a vector search
18
+
=====
17
19
When trying to use the search binding variable `movie` in the `FOR` subclause in the following query:
18
20
19
21
[source,cypher]
@@ -34,7 +36,10 @@ You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001
34
36
----
35
37
error: syntax error or access rule violation - self-referencing in vector search. The expression `movie.embedding` in the search clause may not depend on the search clause binding variable `movie`.
36
38
----
39
+
=====
37
40
41
+
.Using the search binding variable in the `WHERE` subclause of a vector search
42
+
=====
38
43
When trying to use the search binding variable `movie` in the RHS of the predicate in the `WHERE` subclause in the following query:
39
44
40
45
[source,cypher]
@@ -57,6 +62,7 @@ You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001
57
62
----
58
63
error: syntax error or access rule violation - self-referencing in vector search. The expression `movie.year` in the search clause may not depend on the search clause binding variable `movie`.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/index.adoc
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -714,6 +714,10 @@ Status description:: error: data exception - operation not allowed for roles tha
714
714
715
715
Status description:: error: data exception - operation not allowed for roles with `DENY` privileges. Invalid input: `'{ <<query>> }'` is not allowed for roles with `DENY` privileges.
716
716
717
+
=== xref:errors/gql-errors/22ND3.adoc[22ND3]
718
+
719
+
Status description:: error: data exception - wrong property for vector search filtering. The property `{ <<propKey>> }` has not been added as an additional property to the vector index `{ <<idx>> }`.
720
+
717
721
718
722
[[invalid-transaction-state]]
719
723
== Invalid transaction state
@@ -1155,6 +1159,18 @@ Status description:: error: syntax error or access rule violation - unsupported
1155
1159
1156
1160
Status description:: error: syntax error or access rule violation - mismatched pattern. Pattern, `{ <<input>>1 }`, does not match input, `{ <<input>>2 }`. Verify that the pattern is valid for constructing `{ <<valueType>> }`.
1157
1161
1162
+
=== xref:errors/gql-errors/42I73.adoc[42I73]
1163
+
1164
+
Status description:: error: syntax error or access rule violation - invalid predicate for vector search filtering. A vector search filter must consist of one or more predicates joined by `AND`, and the combined predicates for each property must specify either an exact value (e.g. `x.prop = 1`), an open range (e.g. `x.prop >= 1`), or a between range (e.g. `x.prop > 1 AND x.prop < 100`). `{ <<expr>> }` does not fulfill this.
1165
+
1166
+
=== xref:errors/gql-errors/42I74.adoc[42I74]
1167
+
1168
+
Status description:: error: syntax error or access rule violation - wrong variable for vector search filtering. The variable `{ <<variable>>1 }` in a vector search filter property predicate must be the same as the search clause binding variable `{ <<variable>>2 }`.
1169
+
1170
+
=== xref:errors/gql-errors/42I75.adoc[42I75]
1171
+
1172
+
Status description:: error: syntax error or access rule violation - self-referencing in vector search. The expression `{ <<expr>> }` in the search clause may not depend on the search clause binding variable `{ <<variable>> }`.
1173
+
1158
1174
=== xref:errors/gql-errors/42N00.adoc[42N00]
1159
1175
1160
1176
Status description:: error: syntax error or access rule violation - graph reference not found. A graph reference with the name `{ <<db>> }` was not found. Verify that the spelling is correct.
0 commit comments