Has anyone had issues with something like this? We have a ContentArea that holds both images and blocks (video embeds). During indexing the following error occurs:
An exception occurred while indexing (Content): MapperParsingException[failed to parse [ContentApiModel.images.expandedValue.url]]; nested: ElasticsearchIllegalArgumentException[unknown property [propertyDataType]]; .
When the ContentArea contains only images everything is fine. When you add a video block to the collection (images and blocks) then the index job chokes and leaves the page out of the index. I suspect also that the Content Delivery API is in play here as well.
So support figured this one out for me. Our block has a property named Url, so seems there is a collision between that and the Url property that is part of the ContentApiModel that is part of the Content Delivery API. Adding the [JsonIgnore] attribute to the block's Url property lets everything play nice together again.