You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.
UNWIND range(1,10005) as s
CREATE (:Node{id:s});
MATCH (n:Node)
WITH n limit 1
MATCH (m:Node)
WHERE id(n) <> id(m)
CREATE (m)-[:REL]->(n);
Run the algo:
CALL algo.degree.stream("Node", "REL", {direction: "incoming"})
YIELD nodeId, score
RETURN algo.getNodeById(nodeId).id AS name, score AS followers
ORDER BY followers DESC
Error:
Neo.ClientError.Procedure.ProcedureCallFailed: Failed to invoke procedure algo.degree.stream: Caused by: java.lang.ArrayIndexOutOfBoundsException: 10000
The text was updated successfully, but these errors were encountered:
On Wed, 3 Apr 2019 at 18:56, Nulleye ***@***.***> wrote:
I have a similar issue, I think I've solved it by adding the starts...
line in the for loop in the compute() funtion on DegreeCentrality.java
class. I think the starts array is not correctly initialized.
Maybe someone can check this out and create a pull request?
public void compute() {
...
for (int i = 0; i < taskCount; i++) {
starts[i] = (long) batchSize * i;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#848 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAzpAl09j8i-rO59ZfsN49TG6YieADyks5vdOtngaJpZM4cE3CP>
.
example graph:
Run the algo:
Error:
The text was updated successfully, but these errors were encountered: