Skip to content

Commit a4dd09f

Browse files
evertramospolyfractal
authored andcommitted
[DOCS] Update index-operations.asciidoc (#496)
String type has been removes on ES 5.0.
1 parent 0a7fd55 commit a4dd09f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/index-operations.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,36 +104,36 @@ $params = [
104104
'_default_' => [ <4>
105105
'properties' => [
106106
'title' => [
107-
'type' => 'string',
107+
'type' => 'text',
108108
'analyzer' => 'reuters',
109109
'term_vector' => 'yes',
110110
'copy_to' => 'combined'
111111
],
112112
'body' => [
113-
'type' => 'string',
113+
'type' => 'text',
114114
'analyzer' => 'reuters',
115115
'term_vector' => 'yes',
116116
'copy_to' => 'combined'
117117
],
118118
'combined' => [
119-
'type' => 'string',
119+
'type' => 'text',
120120
'analyzer' => 'reuters',
121121
'term_vector' => 'yes'
122122
],
123123
'topics' => [
124-
'type' => 'string',
124+
'type' => 'text',
125125
'index' => 'not_analyzed'
126126
],
127127
'places' => [
128-
'type' => 'string',
128+
'type' => 'text',
129129
'index' => 'not_analyzed'
130130
]
131131
]
132132
],
133133
'my_type' => [ <5>
134134
'properties' => [
135135
'my_field' => [
136-
'type' => 'string'
136+
'type' => 'text'
137137
]
138138
]
139139
]

0 commit comments

Comments
 (0)