Skip to content

Commit

Permalink
Update test mapping for es version < 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Tien Nguyen committed Jun 19, 2017
1 parent e8b7776 commit d6d3ebf
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -9,7 +9,7 @@
"doc": {
"properties": {
"f1": {"type": "string"},
"f2": {"type": "keyword"},
"f2": {"type": "string", "index": "not_analyzed"},
"f3": {"type": "string"},
"f4": {
"type": "string",
Expand All @@ -18,23 +18,23 @@
"f_multi": {
"type": "string",
"fields": {
"raw": {"type": "keyword"},
"raw": {"type": "string", "index": "not_analyzed"},
"f_token_count": {"type": "token_count", "analyzer": "standard"}
}
},
"f_object": {
"type": "object",
"properties": {
"sub1": {"type": "string"},
"sub2": {"type": "keyword"},
"sub2": {"type": "string", "index": "not_analyzed"},
"sub3": {"type": "integer"}
}
},
"f_nested": {
"type": "nested",
"properties": {
"nest1": {"type": "string"},
"nest2": {"type": "keyword"},
"nest2": {"type": "string", "index": "not_analyzed"},
"nest3": {"type": "integer"}
}
},
Expand Down

0 comments on commit d6d3ebf

Please sign in to comment.