Here is the mapping of the document in es:
{
"properties-ie" : {
"mappings" : {
"properties" : {
"ams" : {
"type" : "keyword"
},
"assets" : {
"type" : "integer"
},
"auctionDate" : {
"type" : "date"
},
"auctionNotice" : {
"type" : "text"
},
"bathrooms" : {
"type" : "short"
},
"bedrooms" : {
"type" : "short"
},
**"beds" : {**
** "type" : "nested",**
** "include_in_parent" : true,**
** "properties" : {**
** "availableFrom" : {**
** "type" : "date"**
** },**
** "bedId" : {**
** "type" : "long"**
** },**
** "ensuite" : {**
** "type" : "boolean"**
** },**
** "price" : {**
** "type" : "integer"**
** },**
** "propertyId" : {**
** "type" : "long"**
** },**
** "rentFrequency" : {**
** "type" : "integer"**
** },**
** "singleDoubleShared" : {**
** "type" : "integer"**
** }**
** }**
** },**
"buildArea" : {
"type" : "integer"
},
"buildAreaUnit" : {
"type" : "short"
},
"buildingId" : {
"type" : "integer"
},
"category" : {
"type" : "byte"
},
"cityId" : {
"type" : "integer"
},
"cmc" : {
"type" : "keyword"
},
"cmcp" : {
"type" : "keyword"
},
"cmct" : {
"type" : "keyword"
},
"combinedAddress" : {
"type" : "text"
},
"condition" : {
"type" : "byte",
"null_value" : 0
},
"corner" : {
"type" : "byte"
},
"country" : {
"type" : "keyword"
},
"countyId" : {
"type" : "integer"
},
"currency" : {
"type" : "keyword"
},
"currencySymbol" : {
"type" : "keyword"
},
"dateListed" : {
"type" : "date"
},
"defaultCulture" : {
"type" : "keyword"
},
"displayAddress" : {
"type" : "text"
},
"energy" : {
"type" : "integer"
},
"furnished" : {
"type" : "byte"
},
"gender" : {
"type" : "integer",
"null_value" : 0
},
"id" : {
"type" : "keyword"
},
"landArea" : {
"type" : "integer"
},
"landAreaUnit" : {
"type" : "byte"
},
"latitude" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"listImage" : {
"type" : "keyword"
},
"livingrooms" : {
"type" : "short"
},
"localPropertyId" : {
"type" : "integer"
},
"locality" : {
"type" : "keyword"
},
"localityId" : {
"type" : "integer"
},
"location" : {
"type" : "geo_point"
},
"locationShape" : {
"type" : "geo_shape"
},
"longitude" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"major" : {
"type" : "byte"
},
"paidTill" : {
"type" : "date"
},
"postCode1" : {
"type" : "keyword"
},
"postCode2" : {
"type" : "keyword"
},
"price" : {
"type" : "long"
},
"priceNorm" : {
"type" : "long"
},
"pricequalifier" : {
"type" : "byte"
},
"promoterDisplayAddress" : {
"type" : "text"
},
"promoterId" : {
"type" : "integer"
},
"promoterLocality" : {
"type" : "keyword"
},
"promoterName" : {
"type" : "text"
},
"promoterPhone" : {
"type" : "keyword"
},
"promoterPropertyId" : {
"type" : "long"
},
"propertyCat" : {
"type" : "integer"
},
"rentAvailablefrom" : {
"type" : "date"
},
"rentDeposit" : {
"type" : "long"
},
"rentFrequency" : {
"type" : "short"
},
"rentIncludes" : {
"type" : "keyword"
},
"rentMin" : {
"type" : "short"
},
"retirement" : {
"type" : "boolean",
"null_value" : false
},
"saleType" : {
"type" : "short"
},
"searchLocalities" : {
"type" : "keyword"
},
"searchLocality" : {
"type" : "keyword"
},
"searchLocalityId" : {
"type" : "keyword"
},
"secondaryLocality" : {
"type" : "keyword"
},
"secondaryLocalityId" : {
"type" : "integer"
},
"specialRegion" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256
}
}
},
"ssc" : {
"type" : "integer",
"null_value" : 0
},
"sscBeds" : {
"type" : "integer",
"null_value" : 0
},
"sscPrice" : {
"type" : "integer",
"null_value" : 0
},
"standing" : {
"type" : "byte"
},
"state" : {
"type" : "keyword"
},
"status" : {
"type" : "byte"
},
"subscription" : {
"type" : "byte"
},
"suitable" : {
"type" : "byte",
"null_value" : 0
},
"summary" : {
"type" : "text"
},
"tenure" : {
"type" : "short"
},
"typeId" : {
"type" : "integer"
},
"viaPlan" : {
"type" : "boolean"
}
}
}
}
}