You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,11 +171,12 @@ class MyModel extends Model
171
171
//
172
172
];
173
173
174
-
// Here you can specify a mapping for a model fields.
174
+
// Here you can specify a mapping for model fields
175
175
protected $mapping = [
176
176
'properties' => [
177
-
'text' => [
177
+
'title' => [
178
178
'type' => 'text',
179
+
// Also you can configure multi-fields, more details you can find here https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html
0 commit comments