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

ecm:versionVersionableId should be indexed by Elasticsearch

    XMLWordPrintable

    Details

    • Release Notes Summary:
      ecm:versionVersionableId is indexed by Elasticsearch
    • Backlog priority:
      500
    • Upgrade notes:
      Hide

      With an Elasticsearch NXQL query you can retrieve all versions of a document by version series id. To search existing documents by ecm:versionVersionableId a re-index is required. This could either be via a full re-index or a re-index of just documents that have versions, using this query:

      SELECT * FROM Document WHERE ecm:isVersion = 1
      Show
      With an Elasticsearch NXQL query you can retrieve all versions of a document by version series id. To search existing documents by ecm:versionVersionableId a re-index is required. This could either be via a full re-index or a re-index of just documents that have versions, using this query: SELECT * FROM Document WHERE ecm:isVersion = 1
    • Sprint:
      nxcore 10.1.3
    • Story Points:
      3

      Description

      1. install nuxeo 7.10
      2. create a document
      3. make several versions of it
      4. retrieve the live document id
      5. in NXQL search make a query using ecm:versionVersionableId like:
        SELECT * FROM Document WHERE ecm:versionVersionableId
        
      6. uncomment the following line in nuxeo.conf
      7. enable the nxql_search
      8. try the same request, nothing is returned

      After checking with engineering, the JsonESDocumentWriter class should be updated as the methode writeSystemProperties does not currently handle ecm:versionVersionableId.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d