1、使用and,如果and里只有俩条件则不能用range,需要有>=3个条件

如g.V().and(has('paper_title').has('paper_title',textContains('计算机')).has('paper_title',textContains('计算机')).has('authors', textContainsFuzzy('小熊'))).range(0,1);

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

2、使用has连接,最多俩条件,当有俩条件是不能用range,但可以连接count

g.V().has('paper_title', textContains('计算机')).has('authors', textContains('小熊'))

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄