Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30309

Add a parameter for enabling aliases

    XMLWordPrintable

    Details

    • Release Notes Summary:
      A new parameter is added to enable aliases on Elasticsearch indices.
    • Tags:
    • Upgrade notes:
      Hide

      It is now possible to activate the Elasticsearch alias usage using a property:

      elasticsearch.manageAlias.enabled=true

      Note that when switching an existing instance to use Elasticsearch alias you first have to drop the existing elastic index for the repository (named nuxeo by default) then reindex your repository.

      Show
      It is now possible to activate the Elasticsearch alias usage using a property: elasticsearch.manageAlias.enabled= true Note that when switching an existing instance to use Elasticsearch alias you first have to drop the existing elastic index for the repository (named nuxeo by default) then reindex your repository.

      Description

      According to the documentation Elasticsearch aliases can be enabled through a contribution.

      But there is no parameter for doing so. Could you please add one ?

      Currently if someone overrides completely the ES configuration in one package and has the index enablement in another, this ends up with an un predictable configuration.
      Having this parameter set would ease this.

      For instance this could be added here:
      https://github.com/nuxeo/nuxeo/blob/master/server/nuxeo-nxr-server/src/main/resources/templates/common-base/nxserver/config/elasticsearch-config.xml.nxftl#L53

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h