Skip to content
Discussion options

You must be logged in to vote

Perhaps there was a bug in 1.0.0, but the query you showed shouldn't trigger this warning at least for the version 1.1.0. If it triggers this warning, please, open an issue so that we can take a closer look. However, for now I confirmed that g.inject(1).next() is not issuing full-scan warning in master branch (unreleased 1.2.0).
In case you can't update to the latest JanusGraph version for any reason, you could use g.tx().isOpen() check that should simply return true.
In case you want to ensure you never trigger full-scan queries you can set configuration query.force-index to true and it will issue an exception for any full-scan query.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by porunov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants