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

Commit

Permalink
III-1958: Fix mapping for multilingual fields
Browse files Browse the repository at this point in the history
  • Loading branch information
bertramakers committed Mar 10, 2017
1 parent 410acbf commit 63ed3fe
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions src/Operations/json/mapping_event.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},

"name": {
"type": "string",
"type": "object",
"fields": {
"nl": {
"type": "string",
Expand All @@ -39,7 +39,7 @@
}
},
"description": {
"type": "string",
"type": "object",
"fields": {
"nl": {
"type": "string",
Expand Down Expand Up @@ -118,7 +118,7 @@
"search_analyzer": "lowercase_exact_match_analyzer"
},
"name": {
"type": "string",
"type": "object",
"fields": {
"nl": {
"type": "string",
Expand Down Expand Up @@ -163,7 +163,7 @@
"search_analyzer": "lowercase_exact_match_analyzer"
},
"name": {
"type": "string",
"type": "object",
"fields": {
"nl": {
"type": "string",
Expand Down
6 changes: 3 additions & 3 deletions src/Operations/json/mapping_place.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},

"name": {
"type": "string",
"type": "object",
"fields": {
"nl": {
"type": "string",
Expand All @@ -39,7 +39,7 @@
}
},
"description": {
"type": "string",
"type": "object",
"fields": {
"nl": {
"type": "string",
Expand Down Expand Up @@ -109,7 +109,7 @@
"search_analyzer": "lowercase_exact_match_analyzer"
},
"name": {
"type": "string",
"type": "object",
"fields": {
"nl": {
"type": "string",
Expand Down
8 changes: 4 additions & 4 deletions tests/Operations/UpdateEventMappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected function getExpectedMappingBody()
"search_analyzer" => "lowercase_exact_match_analyzer",
],
"name" => [
"type" => "string",
"type" => "object",
"fields" => [
"nl" => [
"type" => "string",
Expand All @@ -69,7 +69,7 @@ protected function getExpectedMappingBody()
],
],
"description" => [
"type" => "string",
"type" => "object",
"fields" => [
"nl" => [
"type" => "string",
Expand Down Expand Up @@ -144,7 +144,7 @@ protected function getExpectedMappingBody()
"search_analyzer" => "lowercase_exact_match_analyzer",
],
"name" => [
"type" => "string",
"type" => "object",
"fields" => [
"nl" => [
"type" => "string",
Expand Down Expand Up @@ -188,7 +188,7 @@ protected function getExpectedMappingBody()
"search_analyzer" => "lowercase_exact_match_analyzer",
],
"name" => [
"type" => "string",
"type" => "object",
"fields" => [
"nl" => [
"type" => "string",
Expand Down
6 changes: 3 additions & 3 deletions tests/Operations/UpdatePlaceMappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected function getExpectedMappingBody()
"search_analyzer" => "lowercase_exact_match_analyzer",
],
"name" => [
"type" => "string",
"type" => "object",
"fields" => [
"nl" => [
"type" => "string",
Expand All @@ -69,7 +69,7 @@ protected function getExpectedMappingBody()
],
],
"description" => [
"type" => "string",
"type" => "object",
"fields" => [
"nl" => [
"type" => "string",
Expand Down Expand Up @@ -136,7 +136,7 @@ protected function getExpectedMappingBody()
"search_analyzer" => "lowercase_exact_match_analyzer",
],
"name" => [
"type" => "string",
"type" => "object",
"fields" => [
"nl" => [
"type" => "string",
Expand Down

0 comments on commit 63ed3fe

Please sign in to comment.