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

STARTSWITH operator in Elasticsearch should work as in VCS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.4
    • Fix Version/s: 7.10
    • Component/s: Elasticsearch
    • Upgrade notes:
      Hide

      The STARTSWITH operator is now compatible with VCS and does not return anymore the parent.
      When used on hierarchical vocabulary an explicit mapping must be defined. Visit https://doc.nuxeo.com/x/WxI5AQ for more information.

      Show
      The STARTSWITH operator is now compatible with VCS and does not return anymore the parent. When used on hierarchical vocabulary an explicit mapping must be defined. Visit https://doc.nuxeo.com/x/WxI5AQ for more information.

      Description

      At the moment the startswith operator return the root document that match the path while VCS only returns the children. This should be fixed.

      Also for other fields than ecm:path the STARTSWITH operator works like a java string startswith. So it does not work properly on hierarchycal vocabulary. Even if it requires an explicit mapping it should behave the same way as in VCS.

        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.