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
This seems to be a bug as the Mixed Index docs mention that a) any combination of index property keys can be used and that b) equality checks are also supported:
Mixed indexes retrieve vertices or edges by any combination of previously added property keys. Mixed indexes provide more flexibility than composite indexes and support additional condition predicates beyond equality. On the other hand, mixed indexes are slower for most equality queries than composite indexes.
The text was updated successfully, but these errors were encountered:
master
(tried with the Docker image tag1.0.0-20230910-132431.0663c29
)Detailed steps for reproduction
Create a minimal schema with two property keys and a mixed index which uses both property keys:
Verify that the schema was successfully created (especially that the index is
ENABLED
):Search for vertices by using just one of the two property keys, without using any search predicates (so an equality check):
As can be seen, this does not use an index and instead performs a full graph scan.
However, it works if both property keys are used:
or if a search predicate like
textContains
is used:This seems to be a bug as the Mixed Index docs mention that a) any combination of index property keys can be used and that b) equality checks are also supported:
The text was updated successfully, but these errors were encountered: