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

Use the OpenSearch REST client instead of ElasticSearch one

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.0
    • Component/s: Elasticsearch
    • Release Notes Summary:
      Elasticsearch clients have been replaced with OpenSearch clients
    • Release Notes Description:
      Hide

      This change induces query changes due to the bump to Elasticsearch 7.10.2:
      As the query analyzer checks a query, it will remove irrelevant keywords. The query can end up with zero keywords in the end.
      In such case, the query will match no result (instead of all by default), which is what we want.
      Also some default flags have changed so their values in the queries did as well, without incidence on the queries.

      Show
      This change induces query changes due to the bump to Elasticsearch 7.10.2: As the query analyzer checks a query, it will remove irrelevant keywords. The query can end up with zero keywords in the end. In such case, the query will match no result (instead of all by default), which is what we want. Also some default flags have changed so their values in the queries did as well, without incidence on the queries.
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #76, nxplatform #77
    • Story Points:
      5

      Description

      Since NXP-31409 we test Nuxeo against an OpenSearch instance.

      To continue the work, we would like to replace the ElasticSearch REST client by the OpenSearch one.

      Some documentation: https://opensearch.org/docs/1.3/clients/java-rest-high-level/

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: