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

How to set a list specific tag name MATCH to void scan all tag in space #5080

Open
son2408 opened this issue Dec 20, 2022 · 4 comments
Open
Labels
type/question Type: question about the product

Comments

@son2408
Copy link

son2408 commented Dec 20, 2022

I want set v2 for list tags

match(v1:giaychungnhan)<-[e1:e_taisanthechap_giaychungnhan|e_chitietnghiavutaichinh_giaychungnhan]- (v2:taisanthechap, chitietnghiavutaichinh) WHERE v1.giaychungnhan.xaId == 26797 return v1.giaychungnhan.NodeId, v2.taisanthechap.NodeId

@son2408
Copy link
Author

son2408 commented Dec 20, 2022

if v2 not contain any specific tag then it will scan all tag in space

match(v1:giaychungnhan)<-[e1:e_taisanthechap_giaychungnhan|e_chitietnghiavutaichinh_giaychungnhan]- (v2) WHERE v1.giaychungnhan.xaId == 26797 return v1.giaychungnhan.NodeId, v2.taisanthechap.NodeId

@son2408
Copy link
Author

son2408 commented Dec 20, 2022

profile.log

@son2408
Copy link
Author

son2408 commented Dec 20, 2022

cc @wey-gu

@Sophie-Xie Sophie-Xie added the type/question Type: question about the product label Dec 21, 2022
@yixinglu
Copy link
Contributor

yixinglu commented Dec 21, 2022

@son2408 try the following query:

match(v1:giaychungnhan)<-[e1:e_taisanthechap_giaychungnhan|e_chitietnghiavutaichinh_giaychungnhan]-(v2:taisanthechap :chitietnghiavutaichinh) 
WHERE v1.giaychungnhan.xaId == 26797 
return v1.giaychungnhan.NodeId, v2.taisanthechap.NodeId

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Type: question about the product
Projects
None yet
Development

No branches or pull requests

3 participants