Legacy Knowledge Base
Published Sep. 10, 2025

Options are not available to configure while selecting the "Remote Cluster Connection ID"

Written By

Thanga Meena

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • After portal upgrade, when updating the elastic search in DXP 7.3, options are not available to configure while selecting the "Remote Cluster Connection ID". And the below error triggers at the same time span when this activity is performed.
  • 2021-09-15 01:57:37.319 ERROR [liferay/scheduler_dispatch-2][ElasticsearchIndexSearcher:165] java.lang.RuntimeException: org.elasticsearch.ElasticsearchStatusException: ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ratings] in order to load field data by uninverting the inverted index. Note that this can use significant memory.]]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [ratings] in order to load field data by uninverting the inverted index. Note that this can use significant memory.]];

Environment

  • Liferay DXP 7.3
  • ES 7

Resolution

  • Post upgrade of the Liferay DXP, there are additional steps to upgrade the search experience. Please go through the Liferay document "Upgrading Search for Liferay 7.3" which describes the prerequisites, configuration, things to be considered, best practices, and so on as the configurations steps depend on your existing search engine installation and Liferay version. 

    Note: Please ensure you’ll always want to start by backing up your existing indexes.

  • Secondly, Post upgrade, if you have disabled search indexing, the Re-indexing search indexes are required for most upgrades but are typically not required for a few situations like applying an SP or upgrading to a new GA (rolling release) within the same Liferay version. Hence, execute the full re-index of all search indexes after backing up your existing indexes.
  • Steps to reindex as above suggested:
    • Click on theGlobal Menu
    • Navigate to Control Panel -> Configuration -> Search -> click on index actions tab
    • Execute button next to the option "Reindex all search indexes".
    • Once it's done, displays a success message.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base