Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GettingStarted: geoWithin and textContains not working #1368

Open
Isabaellchen opened this issue Jan 7, 2017 · 0 comments
Open

GettingStarted: geoWithin and textContains not working #1368

Isabaellchen opened this issue Jan 7, 2017 · 0 comments

Comments

@Isabaellchen
Copy link

I am currently trying the getting started tutorial and for some reason those two method yield nothing, allthough they should.

gremlin> g.E().has('place', geoWithin(Geoshape.circle(37.97, 23.72, 50)))
gremlin> g.E().has('place')
02:30:02 WARN  com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx  - Query requires iterating over all vertices [()]. For better performance, use indexes
==>e[9we-6i8-9hx-6co][8432-battled->8232]
==>e[9i6-6i8-9hx-9o0][8432-battled->12528]
==>e[aam-6i8-9hx-cts][8432-battled->16624]
gremlin> g.E().has('place').as('source').inV().as('god2').select('source').outV().as('god1').select('god1', 'god2').by('name')
02:32:55 WARN  com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx  - Query requires iterating over all vertices [()]. For better performance, use indexes
==>[god1:hercules, god2:hydra]
==>[god1:hercules, god2:nemean]
==>[god1:hercules, god2:cerberus]

and

gremlin> g.E().has('reason', textContains('loves'))
gremlin> g.E().has('reason')
15:05:04 WARN  com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx  - Query requires iterating over all vertices [()]. For better performance, use indexes
==>e[4r5-6fc-b2t-360][8328-lives->4104]
==>e[3yd-36w-b2t-fzk][4136-lives->20720]
==>e[7j2-3cg-b2t-39k][4336-lives->4232]
gremlin> g.E().has('reason', textContains('loves')).as('source').values('reason').as('reason').select('source').outV().values('name').as('god').select('source').inV().values('name').as('thing').select('god', 'reason', 'thing')
gremlin> g.E().has('reason').values('reason')
15:30:20 WARN  com.thinkaurelius.titan.graphdb.transaction.StandardTitanTx  - Query requires iterating over all vertices [()]. For better performance, use indexes
==>loves waves
==>no fear of death
==>loves fresh breezes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant