Is there a wildcard search option

34 views
Skip to first unread message

runni...@gmail.com

unread,
Apr 26, 2016, 8:36:37 AM4/26/16
to cayley-users
Is there currently an option to include a wildcard within a search?

ie:
g.V("char*").Out("follows")

Which should pick up any nodes that either charlie or charles follows?

Denys Smirnov

unread,
Apr 26, 2016, 11:36:25 AM4/26/16
to cayley-users, runni...@gmail.com
For now the answer is "no". But it's a planned feature.

вторник, 26 апреля 2016 г., 15:36:37 UTC+3 пользователь runni...@gmail.com написал:

Alistair Marshall

unread,
Apr 26, 2016, 3:18:37 PM4/26/16
to Denys Smirnov, cayley-users

Thanks for the quick response.

I guess that "feature" of my own app will have to wait for now.

Alistair Marshall
http://www.thatscottishengineer.co.uk

Sent from my phone. Apologies for poor spelling/grammar.

Denys Smirnov

unread,
Apr 26, 2016, 4:37:12 PM4/26/16
to runni...@gmail.com, cayley-users
What kind of backend are you using, by the way?

There is also a temporary solution to this - you can build Cayley from quad_value branch or from github.com/dennwc/cayley. Both branches have support from lt-gt value comparisons, so your query can be expressed this way: 

g.V().Filter(gt("char"),lt("chas")).Out("follows")

I can also build binary for you, if you want.

But keep in mind, that these branches are not in main repository yet. They are using a different internal format for DB, thus are not compatible with current release of Cayley.

вт, 26 апр. 2016 г. в 22:18, Alistair Marshall <runni...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages