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

Make Elasticsearch STARTSWITH behave like in VCS for non ecm:path field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10, 8.1
    • Fix Version/s: 7.10-HF05, 8.2
    • Component/s: Elasticsearch

      Description

      When using STARTSWITH operator on a hierarchical vocabulary the searched root term must be matched.

      For example, if a document has dc:coverage value to Europe/France, the query below will not match the document using Elasticsearch, while it does using VCS:

      SELECT * FROM Document WHERE dc:coverage STARTSWITH 'Europe/France'

      Note that when using STARTSWITH with the special ecm:path field, the expected behaviour is different, VCS and ES does not return document that match the root term.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: