However when I execute the elastic search in the results from within elastic search for links...it shows just the LINK IDs: instead of Cloudfront or CDN links shown above.
"fields": {
"caption": {
"en-US": "Aquaman is a 2018 American superhero film based on the DC Comics character of the same name, distributed by Warner Bros. Pictures. It is the sixth installment in the DC Extended Universe (DCEU). Directed by James Wan, with a screenplay by David Leslie "
},
"watchnowSlider": {
"en-US": [
{
"sys": {
"linkType": "Asset",
"type": "Link",
"id": "1USQ2qK5xiEQkoSa6IsYEo"
}
},
{
"sys": {
"linkType": "Asset",
"type": "Link",
"id": "780dWpitFu8myUaQqyaymi"
}
}
]
},
"video": {
"en-US": {
"sys": {
"linkType": "Asset",
"type": "Link",
"id": "6pTzHDe1gcswGay2eM20G8"
}
}
},
We are yet to build the front end , but we need to know how these links shows up in the front end when the user searches using elastic search from a website or an app. Kindly let me know any ideas how the elastic search actually displays the links from CDN or Cloudfront. Please point me some links for any example code to show the search results from front end as well. Thanks very much in advance. Have a great day
Hi Mark,
Thanks for your response. We are using Contentful to create content. I am attaching the image which contains how the contentful is sending the data to Elastic thru endpoint.
The content itself is having links to the cloudfront managed by Contentful e.g.
But when it gets to Elastic cloud, it is sending the links as ID's "video": {
"en-US": {
"sys": {
"linkType": "Asset", "type": "Link", "id": "6pTzHDe1gcswGay2eM20G8"
Hi Mark, Thanks for your response. I tried sending the data which contains a CDN url of image and it is sending perfectly to the elastic as shown below
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.