You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@s2graph.apache.org by st...@apache.org on 2016/02/23 07:43:36 UTC
incubator-s2graph git commit: [S2GRAPH-18] Query Option "interval" is
Broken
Repository: incubator-s2graph
Updated Branches:
refs/heads/master ae482d5cc -> 0322060e2
[S2GRAPH-18] Query Option "interval" is Broken
Remove the interval option was set twice.
JIRA:
[S2GRAPH-18] https://issues.apache.org/jira/browse/S2GRAPH-18
Pull Request:
Closes #9
Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/0322060e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/0322060e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/0322060e
Branch: refs/heads/master
Commit: 0322060e2e2fa1aac3e86869ed24f5ba2f1b89e8
Parents: ae482d5
Author: DO YUNG YOON <st...@apache.org>
Authored: Tue Feb 23 15:42:58 2016 +0900
Committer: DO YUNG YOON <st...@apache.org>
Committed: Tue Feb 23 15:42:58 2016 +0900
----------------------------------------------------------------------
CHANGES | 3 +++
.../main/scala/com/kakao/s2graph/core/rest/RequestParser.scala | 3 +--
2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/0322060e/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index ebdab3a..e477a71 100644
--- a/CHANGES
+++ b/CHANGES
@@ -16,6 +16,9 @@ Release 0.12.1 - unreleased
BUG FIXES
+ S2GRAPH-18: Query Option "interval" is Broken.
+ (Contributed by Hyunsung Jo<hy...@gmail.com>, committed by daewon)
+
TASKS
S2GRAPH-2: Update document and quick start environment to have recent set-up command changes.
http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/0322060e/s2core/src/main/scala/com/kakao/s2graph/core/rest/RequestParser.scala
----------------------------------------------------------------------
diff --git a/s2core/src/main/scala/com/kakao/s2graph/core/rest/RequestParser.scala b/s2core/src/main/scala/com/kakao/s2graph/core/rest/RequestParser.scala
index 90f011c..260e213 100644
--- a/s2core/src/main/scala/com/kakao/s2graph/core/rest/RequestParser.scala
+++ b/s2core/src/main/scala/com/kakao/s2graph/core/rest/RequestParser.scala
@@ -304,11 +304,10 @@ class RequestParser(config: Config) extends JSONParser {
.rank(RankParam(label.id.get, scoring))
.exclude(exclude)
.include(include)
- .interval(interval)
.duration(duration)
.has(hasFilter)
.labelOrderSeq(indexSeq)
- .interval(interval)
+ .interval(interval) // Interval param should set after labelOrderSeq param
.where(where)
.duplicatePolicy(duplicate)
.includeDegree(includeDegree)