FileSearch doesn't do incremental updates
Bug #917065 reported by
DavidBriscoe
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.
To post a comment you must log in.
From a (dated) tutorial: http:// saravananthirum uruganathan. wordpress. com/2011/ 08/05/tutorial- on-writing- ubuntu- lensesplaces- in-python/ 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.
(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_