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/42I73.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
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`), a half-bounded range (e.g. `x.prop >= 1`), or a bounded range (e.g. `x.prop > 1 AND x.prop < 100`). `{ <<expr>> }` does not fulfill this.
5
5
6
6
== Example scenarios
7
7
For example, assuming that you have a vector index created by the following command:
@@ -42,7 +42,7 @@ error: syntax error or access rule violation - invalid predicate for vector sear
42
42
43
43
.Using multiple open ranges on the same property inside a vector search filter
44
44
=====
45
-
When trying to use multiple open ranges on the same property inside a vector search filter:
45
+
When trying to use multiple half-bounded ranges on the same property inside a vector search filter:
46
46
47
47
[source,cypher]
48
48
----
@@ -51,7 +51,7 @@ MATCH (movie:Movie)
51
51
SEARCH movie IN (
52
52
VECTOR INDEX moviePlots
53
53
FOR [1, 2, 3]
54
-
WHERE NOT movie.rating > 6 AND movie.rating > 8
54
+
WHERE movie.rating > 6 AND movie.rating > 8
55
55
LIMIT 5
56
56
)
57
57
RETURN movie.title AS title, movie.rating AS rating
@@ -61,7 +61,7 @@ You will receive an error with GQLSTATUS xref:errors/gql-errors/42001.adoc[42001
61
61
62
62
[source]
63
63
----
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.
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`), a half-bounded range (e.g. `x.prop >= 1`), or a bounded range (e.g. `x.prop > 1 AND x.prop < 100`). `movie.rating > 6 AND movie.rating > 8` does not fulfill this.
0 commit comments