Re: Incorrect results when querying


Daniel Kuppitz <me@...>
 

The first number in between should be smaller than the second. Try:

g.V().has('longitude', between(-113, -110)).limit(3)

Cheers,
Daniel


On Thu, Sep 14, 2017 at 12:14 PM, Brandon Dean <engr...@...> wrote:
I have ran into an issue recently where I am receiving incorrect results when submitting certain queries.  Here is an example:

gremlin> g.V().has('longitude', between(-110, -113)).limit(3)
gremlin> g.V().has('longitude', between(-111.726, -111.72)).limit(3)
==>v[393719920]
==>v[119910496]
==>v[365723728]

The first query should have returned the results in the second query at a minimum.  I receive no errors and there is nothing in the log files that seems to indicate an issue.  My next step will be to turn on DEBUG logging, but does anyone have any suggestions on how else to troubleshoot an issue like this?

I am utilizing the builtin instance of C* and ElasticSearch with version 0.1.1 of JanusGraph.

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/89118a22-5415-40e7-b8d5-afcd42fff360%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Join janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.