@@ -81,7 +81,7 @@ GET my_index/_search
},
"script_fields": {
"parent": {
- "script": "doc['_parent']" <4>
+ "script": "doc['_parent']" <3>
}
@@ -42,7 +42,7 @@ GET my_index/_search
"Routing value": {
- "script": "doc['_routing']" <4>
+ "script": "doc['_routing']" <2>
@@ -1,4 +1,4 @@
-\[[mapping-type-field]]
+[[mapping-type-field]]
=== `_type` field
Each document indexed is associated with a <<mapping-type-field,`_type`>> (see