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