Single artwork, separable and non separable ensemble


Introduction

The basic structure of each b result | looks like this :

         {
          "_index": "vm-production-123-artworks",
          "_type": "artworks",
          "_id": "490000000019963",
          "_source": {
              "facets": { … },
              "ua": {
                  "artwork": { … },
                  "authors": [ … ],
                  "medias": [ … ]
              },
              "links": { … }
        }

Note that there may be another main section named b related | in b _source | . This section is used only in case of “non separable ensemble” and is explained below.

We treat 3 different situations : single artwork (not linked to any other artwork) and 2 cases where artworks belong to a larger ensemble. Those cases are recognized by the value of the field b type | in b ua.artwork | section.

Case of “single artwork”

A "single artwork" has no particular link with other artworks. The value of b _source.ua.artwork.type is "individual"

         "_source": {  
            "ua": {
               "artwork": {
                  "type": "individual"

Case of "separable ensemble"

In a separable ensemble, all elements are seen as individual artworks in a result. The value of _source.ua.artwork.type is "separable". Each element must be searched for by its own id or information.

You can find the list of ids of artworks that belong to the same set or "ensemble" in the array in the *_source.ua.artwork.related* section. (including the current artwork)

          "_source": {
             "ua": {
                "artwork": {
                   "ensemble_id": 587,
                   "nb_elements": "49",
                   "related": [ … ],
                   "type": "separable",

Case of "non separable ensemble"

A "non separable ensemble" is seen as one item in the result. It may be searched only by its own id or information (not the ids of the elements). All the elements are described fully in a specific new section named b related which exists only in that case.

The value of b _source.ua.artwork.type | is "nonseparable"

          "_source": {
             "ua": {
               "artwork": {
                 "ensemble_id": 729,
                 "nb_elements": "35",
                 "related": [ … ],
                 "type": "nonseparable",
             "related": [
               {
                 "facets": {
                   "authors": [
                     "9000000000067666:ALBEROLA Jean-Michel"
                   ]
                 },
                 "ua": {
                   "artwork": {
                     "ensemble_id": 729,
                     "nb_elements": "35",
                     "related": [ … ],
                     "type": "nonseparable",

Contact us

You may contact us by sending an email to aide@videomuseum.fr