Skip to content

Commit bd04fdb

Browse files
committed
Update status description of 42I73
1 parent 8f2c736 commit bd04fdb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/ROOT/pages/errors/gql-errors/42I73.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= 42I73
22

33
== 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.
55

66
== Example scenarios
77
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
4242

4343
.Using multiple open ranges on the same property inside a vector search filter
4444
=====
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:
4646
4747
[source,cypher]
4848
----
@@ -51,7 +51,7 @@ MATCH (movie:Movie)
5151
SEARCH movie IN (
5252
VECTOR INDEX moviePlots
5353
FOR [1, 2, 3]
54-
WHERE NOT movie.rating > 6 AND movie.rating > 8
54+
WHERE movie.rating > 6 AND movie.rating > 8
5555
LIMIT 5
5656
)
5757
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
6161
6262
[source]
6363
----
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.
6565
----
6666
=====
6767

0 commit comments

Comments
 (0)