-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 2021.10
-
Fix Version/s: None
-
Component/s: Core MongoDB, Elasticsearch, Query & PageProvider
-
Tags:
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