GNOME Bugzilla – Bug 613562
tracker-search displays results for unavailable data
Last modified: 2010-03-22 14:56:09 UTC
Created attachment 156713 [details] tracker-miner-fs.log Tracker version: 0.7.25 Bug detailed descriptions(behavior, impact, etc) =========================================================== Tracker can't remove USB disk records from database even USB disk is plugged-out. After USB disk is plugged-out, run command "tracker-search", USB contents still can be shown in result. The only way to remove USB disk content is to run command "tracker-control -r" to remove all tracker database and run "tracker-control -s" to trigger tracker re-indexing all contents. Reproduce Steps(steps,current result, reproduce possibility) =========================================================== (1) Insert USB disk and wait until all USB contents are indexed by tracker; (2) Run command "tracker-search -v", find that USB video content can be searched out; (3) Run command "umount /media/" to un-mount USB disk, then plug out USB disk; (4) Run command "tracker-search -v" again, find that tracker still can show USB records in result even USB disk is plugged-out; Expected result: =========================================================== Tracker should not show USB content in searched result after USB disk is plugged-out;
Created attachment 156714 [details] tracker-extract.log
Created attachment 156715 [details] tracker-miner-fs.cfg
(In reply to comment #0) > Expected result: > =========================================================== > Tracker should not show USB content in searched result after USB disk is > plugged-out; This is an interesting situation. The tracker-search utility will show all results in the database regardless of if they are available or not. Additional SPARQL is needed to make sure the item is or isn't mounted. We should probably add some --available option of some sorts to allow this check to be put in place.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.