Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-51946

improve user experience by reindexing in a backgroundTask

    Details

      Description

      When a user initiates a reindex process, they do not receive any feedback about the status of the process. If they navigate away from the page, they cannot see where the reindex process is, so they have to wait for the process to complete to see the outcome.

      in addition, two users who have admin privileges may initiate a reindex at the same time, which is just a waste because it only needs to be reindexed once.

      We can extend the BackgroundTask framework to handle reindexing which allows for progress updates and a way for the user to navigate away from the page.

        Attachments

          Issue Links

          1.
          Move reindexing logic from EditServerAction into a separate BackgroundTask Technical Task Closed Andrew Betts  
          2.
          Abstract BackgroundTaskStatusMessageSender in order to make extending BackgroundTasks outside of staging easier Technical Task Closed Brian Chan  
          3.
          implement status updates for reindexing Technical Task Closed Brian Chan  
          4.
          Add progress bar for user feedback during reindex Technical Task Closed Brian Chan  
          5.
          Add Display object for BackgroundTaskStatus to simplify jsp logic and make it reusable Technical Task Closed Brian Chan  
          6.
          create background-task-status tag Technical Task Closed Mate Thurzo (Inactive)  
          7.
          Update BackgroundTaskExecutor implementation to add support for a registry of BackgroundTaskExecutor objects Technical Task Closed SE Support  
          8.
          Add support for blocking behavior Technical Task Closed Brian Chan  
          9.
          Separate Indexing concerns from general ActionableDynamicQuery Technical Task Closed Brian Chan  
          10.
          Use established ActionableDynamicQuery pattern in Indexers where possible Technical Task Closed Brian Chan  
          11.
          implement backgroundTaskDisplay for existing backgroundTaskExecutors Technical Task Closed Brian Chan  
          12.
          Display a message to administrators letting them know that the portal is currently reindexing Technical Task Closed Brian Chan  
          13.
          move polling logic out of export-import main.js and into background-task-status tag Technical Task Closed SE Support  
          14.
          clean up old indexing background tasks Technical Task Closed SE Support  
          15.
          Allow Flagging BackgroundTasks for automatic cleanup once completed successfully Technical Task Closed SE Support  
          16.
          Disallow indexing by className when Portal reindex is already in progress Technical Task Closed SE Support  

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master