mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
d3f3cd3765
* Add indexes for fields * Add indexing schema
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"edgeLabels": [
|
|
{
|
|
"label": "/kythe/edge/defines",
|
|
"multiplicity": "MULTI",
|
|
"unidirected": false
|
|
}
|
|
],
|
|
"propertyKeys": [
|
|
{
|
|
"key": "path",
|
|
"className": "java.lang.String",
|
|
"cardinality": "SINGLE"
|
|
},
|
|
{
|
|
"key": "/kythe/code",
|
|
"className": "java.lang.String",
|
|
"cardinality": "SINGLE"
|
|
},
|
|
{
|
|
"key": "/kythe/text",
|
|
"className": "java.lang.String",
|
|
"cardinality": "SINGLE"
|
|
},
|
|
{
|
|
"key": "/kythe/node/kind",
|
|
"className": "java.lang.String",
|
|
"cardinality": "SINGLE"
|
|
}
|
|
],
|
|
"compositeIndexes": [
|
|
{
|
|
"name": "kindCompositeIndex",
|
|
"typeClass": "org.apache.tinkerpop.gremlin.structure.Vertex",
|
|
"keys": [
|
|
{
|
|
"propertyKey": "/kythe/node/kind"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mixedIndexes": [
|
|
{
|
|
"name": "codeMixedIndex",
|
|
"typeClass": "org.apache.tinkerpop.gremlin.structure.Vertex",
|
|
"indexBackend": "search",
|
|
"keys": [
|
|
{
|
|
"propertyKey": "/kythe/code"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |