We are using Tridion 9.5 and we have configured new content delivery feature using Elasticsearch technology. When content is published it is also pushed to elasticsearch. We have noticed in elasticsearch query result that component links and multimedia links are not resolving and showing with tcm ids in the search results is there any way to fix this?
When searching over GraphQL, you can get the indexed search results down to specific fields as well as the published content from the broker (using
brokerResult). See an example from Ben Middleton on the Sites 9.5 Search Functionality.
This would get you the resolved links (from the regular Component Presentations) but with a potential impact to performance.
However, you might opt to display plain text from the search results for either a paginated list or in some type-ahead search feature. So rather than showing links in the results, perhaps the UI would show the snippet of content and then let the visitor click on that to get to the full content in context.