Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-546

Add a property to nuxeo-operation to force elastic indexing being synchronous

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.1
    • Component/s: Core, UI
    • Tags:
    • Browser:
    • Upgrade notes:
      Hide

      You can now specify sync-indexing on nuxeo-operation, nuxeo-resource and nuxeo-document element to force a synchronous elasticsearch indexing server side.

      Show
      You can now specify sync-indexing on nuxeo-operation, nuxeo-resource and nuxeo-document element to force a synchronous elasticsearch indexing server side.
    • Sprint:
      nxGang Sprint 10.1.4
    • Story Points:
      1

      Description

      Any rest call by default will have their document changes being reindexed asynchronously in elasticsearch.

      However there are some use cases where we want the reindinxing synchronous to have a consistent UI refresh.

      This is the case for nuxeo-delete-documents-button.html element which leverages the nx_es_sync http header.

      We should add a sync or syncIndexing boolean property on nuxeo-operation element and forward it to nuxeo-operation-button to have a simpler api.

        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 hour, 10 minutes
                  1h 10m

                    PagerDuty