0

で定義された頂点のグループとの間のすべてのパスを見つける:lt("b")一部であるdatastax IDで動作することができないためは <a href="http://tinkerpop.apache.org/docs/3.2.1-SNAPSHOT/recipes/" rel="nofollow">this</a> 次のクエリによればdatastax DSEグラフ

g.V(ids).as("a").repeat(bothE().otherV().simplePath()).times(5).emit(hasId(within(ids))).as("b").filter(select(last,"a","b").by(id).where("a", lt("b"))).path().by().by(label) 

はdatastaxグラフで動作しませんJSON形式

{ 
    '~label=person', 
    member_id=54666, 
    community_id=505443455 
} 

どのように私は、クエリが動作するように一部ために、(B ")LTを変更することができますか?

助けてください

答えて

3

これに匹敵するプロパティを選ぶことができます。たとえば、すべての頂点がnameプロパティを持つ場合:

g.V(ids).as("a").repeat(bothE().otherV().simplePath()).times(5). 
    emit(hasId(within(ids))).as("b"). 
    filter(select(last,"a","b").by("name").where("a", lt("b"))). 
    path().by().by(label) 
関連する問題