From 8cc31910aa8233538ef5d8f84947e90c009c1d90 Mon Sep 17 00:00:00 2001 From: zhoney Date: Fri, 31 Aug 2018 17:48:13 +0800 Subject: [PATCH] query by label without 80w limit fix #36 Change-Id: I60ecca5cafc52c65f4319e5d166ebe93140dca6d --- .../com/baidu/hugegraph/backend/tx/GraphIndexTransaction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/GraphIndexTransaction.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/GraphIndexTransaction.java index 1c9df59c9e..9f9cdd2b0c 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/GraphIndexTransaction.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/GraphIndexTransaction.java @@ -389,6 +389,7 @@ private Set queryByLabel(ConditionQuery query) { // Set offset and limit to avoid redundant element ids indexQuery.limit(query.limit()); indexQuery.offset(query.offset()); + indexQuery.capacity(query.capacity()); return this.doIndexQuery(il, indexQuery); }