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

path expander for patterns #102

Open
jexp opened this issue Aug 18, 2016 · 1 comment
Open

path expander for patterns #102

jexp opened this issue Aug 18, 2016 · 1 comment
Assignees
Labels
core-functionality Adding new procedure, function or signature to APOC core enhancement Larus

Comments

@jexp
Copy link
Member

jexp commented Aug 18, 2016

variable path length on patterns instead of single relationships. Don’t have a syntax for this to suggest, but assume you want to search for ()-[:TYPE_A]→()-[:TYPE_B]→() e.g. 2..5 times.

match (a)-[r*]→(b) where all rels in the path are this pattern ()-[:Foo]→()-[:Bar]→()

pass in array with rel-type into rel-expander, test types[path.length % types.length]

@jexp
Copy link
Member Author

jexp commented Jul 25, 2017

@InverseFalcon Another one for you :)

@conker84 conker84 self-assigned this Jan 14, 2021
@conker84 conker84 added the Larus label Jan 26, 2021
@vga91 vga91 added the core-functionality Adding new procedure, function or signature to APOC core label Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core-functionality Adding new procedure, function or signature to APOC core enhancement Larus
Projects
None yet
Development

No branches or pull requests

4 participants