[ https://issues.apache.org/jira/browse/S2GRAPH-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664488#comment-15664488 ]
ASF GitHub Bot commented on S2GRAPH-125: ---------------------------------------- Github user daewon commented on the issue: https://github.com/apache/incubator-s2graph/pull/94 +1 LGTM > Add options field on Label model for controlling advanced options. > ------------------------------------------------------------------ > > Key: S2GRAPH-125 > URL: https://issues.apache.org/jira/browse/S2GRAPH-125 > Project: S2Graph > Issue Type: New Feature > Affects Versions: 0.2.0 > Reporter: DOYUNG YOON > Assignee: DOYUNG YOON > Priority: Minor > Labels: options > Fix For: 0.2.0 > > Original Estimate: 168h > Remaining Estimate: 168h > > Suggestion to add place holder for options per {{Label}}. > While I was using S2Graph in production, there were many cases to control > whether publishing or not publishing input request to Kafka({{WALLOG}}). > For more detail, let me share my case. > When I insert bulk data(or immutable data that is produced by batch > processing, for example similarity matrix), I do not want to publish inserted > {{Edge}} into {{WALLOG}}, since all data is duplicate from original bulk data. > Maybe options to control publishing all/sampling/drop {{WALLOG}} per each > {{EDGE}} can be helpful. > Also the benefit of automatically(implicitly) create reverse direction index > can be problematic in some case like S2GRAPH-123. > For example, user insert edge {{a->out->101}}, then {{101<-in<-a}} also > automatically created and some case, especially 101 has lots of incoming > edges which means 101 is super-node, user may want to skip implicit reverse > direction edge. > I think we have no idea what other options may be necessary, so I am > suggesting add {{options}} field on {{Label}} to hold advanced options. > In my opinion, storing {{JSON}} string(kind like config) as {{options}} make > sense since it is easy to implement, but I am open to any other suggestions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)