You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@s2graph.apache.org by "Daewon Jeong (JIRA)" <ji...@apache.org> on 2016/11/30 12:58:58 UTC

[jira] [Created] (S2GRAPH-135) Change the way LabelIndexOption is implemented and improve it

Daewon Jeong created S2GRAPH-135:
------------------------------------

             Summary: Change the way LabelIndexOption is implemented and improve it
                 Key: S2GRAPH-135
                 URL: https://issues.apache.org/jira/browse/S2GRAPH-135
             Project: S2Graph
          Issue Type: Improvement
            Reporter: Daewon Jeong
            Priority: Minor


https://lists.apache.org/thread.html/e9c9237c5468fd899f693352eb23cc514280df41d0d11ae8e51fac97@%3Cdev.s2graph.apache.org%3E

I hope the LabelIndexOption has changed as suggested in the above link.

# LabelIndex option

## When creating a label index, create a direction item in the optionos field.

1. 'labelIndex' works for both directions.

2. If there is no specific option, all of them expect to be true. 
  - store indexEdge, store degree

3. If you want to apply a specific option for a specific direction, specify the direction in 'option'.

## Definition

Ex)
  - in direction: drop indexEdge, drop degree  
  - out direction: store indexEdge, store degree 

```
{
    "out": {
        "method": "drop",
        "storeDegree": false
    }
}
```









--
This message was sent by Atlassian JIRA
(v6.3.4#6332)