Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-108361

Synonyms and Result Rankings indexes are created with "number_of_replicas: 0" results in "yellow" status in Elasticsearch

    Details

      Description

      Elasticsearch cluster and some of their indexes are in "yellow" status

      This issue is only reproduced in case of having DXP functionality "Search Tuning" installed

      Root cause
      The root cause of this issue is a wrong index initialization:

      • number_of_replicas and number_of_shards are not specified during "liferay-search-tuning-synonyms" and "liferay-search-tuning-rankings" indexes creation.
      • But other indexes, for example workflow-metrics-* ones, are correctly created with number_of_replicas=0 and number_of_shards=1

      Steps to reproduce

      1. Start a clean Liferay DXP build (SP1+/FP2+)
      2. Open http://localhost:9200/_cat/health and http://localhost:9200/_cat/indices URLs
        • Expected behavior: Elasticsearch cluster and indexes are in green status
        • Wrong behavior: Elasticsearch cluster and indexes are in yellow status

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              linda.sui Linda Sui
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Zendesk for JIRA
              Engineering Assignee:
              Bryan Engler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                41 weeks, 3 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP5
                  7.2.10.2 DXP SP2
                  7.2.X
                  7.3.1 CE GA2
                  7.3.2 CE GA3
                  7.3.10 DXP GA1
                  Master