In contentful there is a contentType: Composition
That has an ordered list of blocks like: [header, image, list of cards, ...] - this allow editors more freedom when creating pages. This list of blocks is also used on programme pages and the home page.
But it isn't reflected in the elasticsearch index.
The ordering of the blocks is lost as it is indexed as an object
Not enough information from the blocks are included
E.g. the primary images of e.g. mediaCountBlock isn't included
The features block with title: 2017-2022 Strategic priorities does not include the list of features and their images
We want these entries to be searchable despite all the text lives in other entries. And we want to be able to display them obviously.
We could either include all the information in the elasticsearch document, or we could use graphql to unfold it. If we opt for the latter, then we need to add those contentTypes to ES as well (we do not currently index all the block types like featureBlocketc)
@fmendezh I need your input here. I do not know what is best/easiest for you
In contentful there is a contentType: Composition That has an ordered list of blocks like: [header, image, list of cards, ...] - this allow editors more freedom when creating pages. This list of blocks is also used on programme pages and the home page.
But it isn't reflected in the elasticsearch index.
Example entry from dev http://cms-search.gbif-dev.org:9200/composition/_search?q=id:3fvWSwDCj8tZBpRFiWC8QQ in Contentful: https://app.contentful.com/spaces/uo17ejk9rkwj/environments/dev/entries/3fvWSwDCj8tZBpRFiWC8QQ
issues:
2017-2022 Strategic priorities
does not include the list of features and their imagesWe want these entries to be searchable despite all the text lives in other entries. And we want to be able to display them obviously.
We could either include all the information in the elasticsearch document, or we could use graphql to unfold it. If we opt for the latter, then we need to add those contentTypes to ES as well (we do not currently index all the block types like
featureBlock
etc)@fmendezh I need your input here. I do not know what is best/easiest for you