Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
III-2091 Added mapping information for creator field.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc Wollants committed May 12, 2017
1 parent 3070e94 commit 80ab2f2
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Operations/json/mapping_event.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,12 @@
"search_analyzer": "lowercase_exact_match_analyzer"
}
}
},

"creator": {
"type": "string",
"analyzer": "lowercase_exact_match_analyzer",
"search_analyzer": "lowercase_exact_match_analyzer"
}
}
}
6 changes: 6 additions & 0 deletions src/Operations/json/mapping_place.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@
"search_analyzer": "lowercase_exact_match_analyzer"
}
}
},

"creator": {
"type": "string",
"analyzer": "lowercase_exact_match_analyzer",
"search_analyzer": "lowercase_exact_match_analyzer"
}
}
}
5 changes: 5 additions & 0 deletions tests/Operations/UpdateEventMappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,11 @@ protected function getExpectedMappingBody()
],
],
],
"creator" => [
"type" => "string",
"analyzer" => "lowercase_exact_match_analyzer",
"search_analyzer" => "lowercase_exact_match_analyzer",
],
],
];
}
Expand Down
5 changes: 5 additions & 0 deletions tests/Operations/UpdatePlaceMappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,11 @@ protected function getExpectedMappingBody()
],
],
],
"creator" => [
"type" => "string",
"analyzer" => "lowercase_exact_match_analyzer",
"search_analyzer" => "lowercase_exact_match_analyzer",
],
],
];
}
Expand Down

0 comments on commit 80ab2f2

Please sign in to comment.