-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2021.0, 2023.0
-
Component/s: Elasticsearch
-
Release Notes Summary:Elasticsearch aggregates on ecm:isVerison are now returned by the Rest API
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #99
-
Story Points:3
The following aggregates are available in Studio, but not in https://github.com/nuxeo/nuxeo-lts/blob/2021/modules/platform/nuxeo-elasticsearch/nuxeo-elasticsearch-core/src/main/java/org/nuxeo/elasticsearch/io/marshallers/json/AggregateJsonWriter.java#L84
- ecm:isVersion
- ecm:lockOwner
- ecm:proxyTargetId
- ecm:proxyVersionableId
- ecm:isLatestVersion
- ecm:isLatestMajorVersion
- ecm:isCheckedIn
- ecm:versionDescription
- ecm:versionVersionableId
There are others too, but probably less useful e.g. ecm:name
This causes the error message in server.log e.g.:
[org.nuxeo.elasticsearch.io.marshallers.json.AggregateJsonWriter] Field: ecm:isVersion is not a valid field for aggregates
Please can they be added?
- is related to
-
NXS-6978 Limit the available aggregate candidates for system properties
- Acknowledged