Skip to content

Commit

Permalink
fix mapping config
Browse files Browse the repository at this point in the history
  • Loading branch information
basemkhirat committed Apr 28, 2017
1 parent 44cb1e7 commit 31bfdc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ $documents = $connection->search("hello")->get();
"number_of_replicas" => 0,
],
'mappings' => [
"properties" => [
'posts' => [
'posts' => [
'properties' => [
'title' => [
'type' => 'string'
]
Expand Down
5 changes: 2 additions & 3 deletions src/config/es.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,11 @@
],

'mappings' => [
"properties" => [
'posts' => [
'posts' => [
"properties" => [
'title' => [
'type' => 'string'
]

]
]
]
Expand Down

0 comments on commit 31bfdc2

Please sign in to comment.