This is a part of data I get. The relationship with id 1546728594 is included like about 16 times in my data.
,
"relations": [
[
{
"identity": 1546728594, <-- Here it goes
"start": 1927833568,
"end": 1791789334,
"type": "tx2tx",
"properties": {
}
}
],
[
{
"identity": 1546728593,
"start": 1927833568,
"end": 1785591632,
"type": "tx2tx",
"properties": {
}
},
{
"identity": 1546728594, <-- and here
"start": 1927833568,
"end": 1791789334,
"type": "tx2tx",
"properties": {
}
}
],
[
{
"identity": 1803520488,
"start": 2005583212,
"end": 1785591632,
"type": "tx2tx",
"properties": {
}
},
{
"identity": 1546728593,
"start": 1927833568,
"end": 1785591632,
"type": "tx2tx",
"properties": {
}
},
{
"identity": 1546728594, <-- and again
"start": 1927833568,
"end": 1791789334,
"type": "tx2tx",
"properties": {
}
}
],
[
{
"identity": 1679121836,
"start": 1968412308,
"end": 1785591632,
"type": "tx2tx",
"properties": {
}
},
{
"identity": 1546728593,
"start": 1927833568,
"end": 1785591632,
"type": "tx2tx",
"properties": {
}
},
{
"identity": 1546728594, <-- and so on...
"start": 1927833568,
"end": 1791789334,
"type": "tx2tx",
"properties": {
}
}
],
Sorry, if I explain the problem not clearly enough. I need to have a list of unique relationships to get more steps from my starting node. With 0..5
from m
everything becomes extremely huge and slow. But if I could get rid of paths - that could save me lots of time and memory.