FileSearch doesn't do incremental updates

Bug #917065 reported by DavidBriscoe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity FileSearch Lens
Confirmed
Medium
Unassigned

Bug Description

As we find search results, we should post some of them while we continue to search.

Currently, FileSearch shows no results until it's completed the search.

Revision history for this message
DavidBriscoe (idbrii) wrote :

From a (dated) tutorial: http://saravananthirumuruganathan.wordpress.com/2011/08/05/tutorial-on-writing-ubuntu-lensesplaces-in-python/
(3) Handling long computations :
If your lens returns lot of results or the processing for each result entry takes a lot of time, then its a good idea to display the information as it arrives. The results model has a function called flush_revision_queue which periodically sends the data so far to Unity. For eg, in the case of IMDB lens , fetching the genre information is expensive. So, the code flushes the results every time five movies were processed. This allows the user to see some results without waiting for eternity to get complete results.

Changed in filesearch-lens:
status: New → Confirmed
tags: added: feature-request
Changed in filesearch-lens:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.