JanusGraph / JanusGraph/janusgraph

Register vertices with the local start multiQueriable steps of the Match step

Open
#3,788 0 comments 0 reactions 0 assignees View on GitHub
area/core kind/performance
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

Currently JanusGraph doesn't properly registers starts and ends of the local traversals. We should probably analyze match step and connect local end steps with proper local start steps.
For example,
```
g.V().match(
__.as('a').out('created').as('b'),
__.as('b').has('name', 'lop'),
__.as('b').in('created').as('c'),
__.as('c').has('age', 29)).
select('a','c').by('name')
```
I assume in the above case it would make sense to register vertices of `V()` with the `out('created')` step.
The end of the first traversal should probably register it's vertices with `has('name', 'lop'),` and `in('created')`.
The end of the 3rd traversal should probably register it's vertices with `has('age', 29))`.

Contributor guide

Open the contributing guide

Research direction

Start by analyzing the Match step and how local traversal start and end steps are registered. Use the example match traversal to verify that each local end is connected to the appropriate local start, including the initial V(), has(), and in() steps; done means these vertices are registered correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.