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

Compact Elasticsearch JSON _source field

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.10
    • Fix Version/s: 9.1
    • Component/s: Elasticsearch

      Description

      To index a Nuxeo document a JSON representation is build with JsonESDocumentWriter. This representation is saved in Elasticsearch _source field.

      Empty field or null value are dumped like:

          "uid:uid" : null,
          "ecm:tag" : [ ],
          "files:files" : [ ],
          "dc:expired" : null,
          "dc:format" : null,    
      

      This can represent more than 15% of the size for a small document.
      If this empty values are not used by search they should be removed.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: