Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-6487

Elasticsearch query doesn't return all versions of packages

    Details

      Description

      Listing of Marketplace packages is querying using a `LIKE` under the hood; and when converting in Elasticsearch query returns only 50 possible terms which is not enough to return all available package.

      We need to contribute a custom Operator in order to use a `prefixHint` query instead of the default Elasticsearch query operator used with a LIKE statement.

      See: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html
      See: https://github.com/nuxeo/nuxeo/blob/10.10/nuxeo-features/nuxeo-elasticsearch/nuxeo-elasticsearch-core/src/main/java/org/nuxeo/elasticsearch/api/ESHintQueryBuilder.java

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.