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

Fix Elasticsearch document history page provider

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2-SNAPSHOT
    • Fix Version/s: 10.3
    • Component/s: Elasticsearch
    • Tags:
    • Sprint:
      nxcore 10.3.5
    • Story Points:
      2

      Description

      In our Elasticsearch implementation of DOCUMENT_HISTORY_PROVIDER, we use Match Query for docUUID criteria in order to get document's history.
      This performs a fulltext query on docUUID field where - is analysed as a separator when using default Elasticsearch settings. This could lead to error when documents share a sub part of their UUID and Elasticsearch mapping is not correct.

      We should query Elasticsearch with a Term Query in order to get audit entries whose docUUID matches exactly the queried one.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 2 hours
                2h