[
https://issues.apache.org/jira/browse/S2GRAPH-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15721657#comment-15721657
]
Daewon Jeong commented on S2GRAPH-33:
-------------------------------------
This issue has already been reflected.
> Support weighted sum of multiple query results.
> -----------------------------------------------
>
> Key: S2GRAPH-33
> URL: https://issues.apache.org/jira/browse/S2GRAPH-33
> Project: S2Graph
> Issue Type: New Feature
> Reporter: DOYUNG YOON
> Assignee: DOYUNG YOON
> Labels: feature
>
> In some cases, It is necessary to aggregate multiple results from multiple
> queries.
> Some example cases would be hybrid recommender which composed of combination
> of (user based collaborative filtering + most popular + content based
> collaborative filtering..., etc).
> ex)
> {noformat}
> {
> "queries": [
> {
> "srcVertices": [
> {
> "columnName": "user_id_test",
> "id": 0,
> "serviceName": "s2graph"
> }
> ],
> "steps": [
> [
> {
> "direction": "out",
> "label": "s2graph_label_test_0",
> "offset": 0
> }
> ]
> ]
> },
> {
> "srcVertices": [
> {
> "columnName": "user_id_test",
> "id": 0,
> "serviceName": "s2graph"
> }
> ],
> "steps": [
> [
> {
> "direction": "out",
> "label": "s2graph_label_test_1",
> "offset": 0
> }
> ]
> ]
> }
> ],
> "weights": [
> 0.6,
> 0.4
> ],
> "gropuBy": ["to"],
> "select": []
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)