-
Type: New Feature
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Core MongoDB
A MongoDB script that allows taking in input
- a set of xpath expressions referencing the content fields to take into account by the script
- a set of xpath expressions referencing the additional columns we want to add as columns.
- a repository
The script will create a new mongodb collection with as many lines as there are content references in the repository trhough one of the expressed xpath. It means versions will also have their own lines.
The columns will include (but not only):
- document id
- the xpath of the content property considered
- if it is a version
- when a version, the "document" it is a version about
- when a proxy, the source document
- the path
- the blob provider key
- the size of the binary
- date of creation of the document / version
This task also includes an example of how to leverage that collection, that will sum the column "size of the binary" for the whole repository.
- Is referenced in