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 of multilingual properties
Browse files Browse the repository at this point in the history
  • Loading branch information
bertramakers committed Mar 10, 2017
1 parent 104cb2f commit b1c27d3
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 @@ -19,7 +19,7 @@

"name": {
"type": "object",
"fields": {
"properties": {
"nl": {
"type": "string",
"analyzer": "dutch"
Expand All @@ -40,7 +40,7 @@
},
"description": {
"type": "object",
"fields": {
"properties": {
"nl": {
"type": "string",
"analyzer": "dutch"
Expand Down Expand Up @@ -119,7 +119,7 @@
},
"name": {
"type": "object",
"fields": {
"properties": {
"nl": {
"type": "string",
"analyzer": "dutch"
Expand Down Expand Up @@ -161,7 +161,7 @@
},
"name": {
"type": "object",
"fields": {
"properties": {
"nl": {
"type": "string",
"analyzer": "dutch"
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 @@ -19,7 +19,7 @@

"name": {
"type": "object",
"fields": {
"properties": {
"nl": {
"type": "string",
"analyzer": "dutch"
Expand All @@ -40,7 +40,7 @@
},
"description": {
"type": "object",
"fields": {
"properties": {
"nl": {
"type": "string",
"analyzer": "dutch"
Expand Down Expand Up @@ -110,7 +110,7 @@
},
"name": {
"type": "object",
"fields": {
"properties": {
"nl": {
"type": "string",
"analyzer": "dutch"
Expand Down
8 changes: 4 additions & 4 deletions tests/Operations/UpdateEventMappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected function getExpectedMappingBody()
],
"name" => [
"type" => "object",
"fields" => [
"properties" => [
"nl" => [
"type" => "string",
"analyzer" => "dutch",
Expand All @@ -70,7 +70,7 @@ protected function getExpectedMappingBody()
],
"description" => [
"type" => "object",
"fields" => [
"properties" => [
"nl" => [
"type" => "string",
"analyzer" => "dutch",
Expand Down Expand Up @@ -145,7 +145,7 @@ protected function getExpectedMappingBody()
],
"name" => [
"type" => "object",
"fields" => [
"properties" => [
"nl" => [
"type" => "string",
"analyzer" => "dutch",
Expand Down Expand Up @@ -186,7 +186,7 @@ protected function getExpectedMappingBody()
],
"name" => [
"type" => "object",
"fields" => [
"properties" => [
"nl" => [
"type" => "string",
"analyzer" => "dutch",
Expand Down
6 changes: 3 additions & 3 deletions tests/Operations/UpdatePlaceMappingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected function getExpectedMappingBody()
],
"name" => [
"type" => "object",
"fields" => [
"properties" => [
"nl" => [
"type" => "string",
"analyzer" => "dutch",
Expand All @@ -70,7 +70,7 @@ protected function getExpectedMappingBody()
],
"description" => [
"type" => "object",
"fields" => [
"properties" => [
"nl" => [
"type" => "string",
"analyzer" => "dutch",
Expand Down Expand Up @@ -137,7 +137,7 @@ protected function getExpectedMappingBody()
],
"name" => [
"type" => "object",
"fields" => [
"properties" => [
"nl" => [
"type" => "string",
"analyzer" => "dutch",
Expand Down

0 comments on commit b1c27d3

Please sign in to comment.