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

Cannot query versions in a folder with dbs pageprovider

    XMLWordPrintable

    Details

      Description

      ecm:parentId is not populated in mongodb for versions. However it is in the Elasticsearch index.

      The following query returns nothing with a core pageprovider while it returns all the versions present in the folder with ES.

      SELECT * FROM Document WHERE ecm:parentId = 'the folder ID' AND ecm:isVersion = 1
      

      It feels like an exact match query on system properties should return the same results with both types of pp (assuming the ES index is up-to-date).

      The current behavior of the ES pageprovider provides more query possibilities on versions than the core pp

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: