Merge pull request #12647 from loopmachine/nested-type-doc

Update nested-type.asciidoc mapping example
This commit is contained in:
Nik Everett 2015-08-04 14:45:08 -04:00
commit b9e1c581e8
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ uses type `nested`:
{
"type1" : {
"properties" : {
"users" : {
"user" : {
"type" : "nested",
"properties": {
"first" : {"type": "string" },
@ -99,7 +99,7 @@ You may want to index inner objects both as `nested` fields *and* as flattened
{
"type1" : {
"properties" : {
"users" : {
"user" : {
"type" : "nested",
"include_in_parent": true,
"properties": {