Skip to content

Commit

Permalink
fix elastic nested configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
seanbarzilay committed Oct 9, 2017
1 parent b29f526 commit c1200a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"vertices": [
{
"index": "vertex",
"type": "animal",
"id": "@_id",
"label": "animal",
"label": {
"field": "_type",
"include": ["animal", "dog"]
},
"dynamicProperties": {
"excludeFields":[
"_type"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
"vertices": [
{
"index": "vertex",
"type": "animal",
"id": "@_id",
"label": "animal",
"label": {
"field": "_type",
"include": ["animal", "dog"]
},
"dynamicProperties": {
"excludeFields":[
"_type"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,9 @@ public TemporaryTests() throws Exception {
@Test
@LoadGraphWith(MODERN)
public void test() {
final Vertex a = g.V().has("name", "marko").next();
final Vertex b = g.V().has("name", "peter").next();
Traversal t = g.addE("knows").from(a).to(b).property("weight", 0.1d);
check(t);
t = g.E();
Traversal t = g.V("1").optional(addV("dog")).label();
check(t);
check(g.V());
}


Expand Down

0 comments on commit c1200a2

Please sign in to comment.