elasticsearchliferayliferay-dxp

How to build parent child relationship search in Elastic-search using Liferay API's?


We have a custom entity in Liferay called 'Publication'. It is indexed in Elastic-search and contains a field named 'journalArticleId'.

Based on our search requirements if some user searches for any keyword in the journal article we have to return the publication document which contains the 'journalArticleId' of the respective journal.

I found the solution for implementing this using Java API but I'm looking for the Liferay API to solve this.

Elastic Search Parent-Child Data Search Java API

Thanks in advance for any response.


Solution

  • The elastic search provides features for parent-child mapping and the solution for the above situation can be implemented using Java API. Elastic Search Parent-Child Data Search Java API

    We have contacted the Liferay support team and they responded that the Liferay-elasticsearch adapter doesn't support this feature yet. version : liferay-dxp-digital-enterprise-7.0-sp3