我试图通过SEARCH
函数在Arangodb
中使用PHRASE
关键字在视图中进行模糊搜索查询,问题是如果我尝试使用AND关键字要添加多个搜索条件,它只会返回一个空集,我的查询中有问题吗?
FOR a in newView
SEARCH (a.LocationStreet.StreetNumberText == 18 AND PHRASE( a.StreetName, "GREY", "text_en") AND PHRASE(a.eng, "St.Johns", "text_en") )
FOR v, e, p IN 5 OUTBOUND a GRAPH 'Dwellings'
SORT BM25 (a) desc
LIMIT 10
RETURN [BM25(a),p.vertices]