Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Commit b87c224

Browse files
authored
Merge pull request #43 from sdebacker/patch-1
As of ES6, the "string" type doesn't exist anymore.
2 parents 096e1ee + 2b1dc55 commit b87c224

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ class MyModel extends Model
159159
protected $mapping = [
160160
'properties' => [
161161
'text' => [
162-
'type' => 'string',
162+
'type' => 'text',
163163
'fields' => [
164164
'raw' => [
165-
'type' => 'string',
165+
'type' => 'text',
166166
'index' => 'not_analyzed',
167167
]
168168
]

0 commit comments

Comments
 (0)