Hybrid Search doesn't respect Zeitgeist blacklist

Bug #691435 reported by Christian Dannie Storgaard on 2010-12-17
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

II the Hybrid Search plugin is enabled, results will appear from locations blacklisted in Zeitgeist.

Michal Hruby (mhr3) wrote :

Only as long as you already have events for these locations logged. Am I right?

Changed in synapse-project:
status: New → Incomplete

Nope, there are results shown from folders that are blacklisted and have no logged files in Zeitgeist.

Michal Hruby (mhr3) wrote :

Then perhaps they are in Recently used (Places > Recent Documents)?

Also how did you make sure they are gone from ZG? Please make sure using:
cd ~.local/share/zeitgeist
sqlite3 activity.sqlite 'SELECT * FROM uri;' | grep 'caseSensitiveFileName'

Michal Hruby (mhr3) wrote :

Whoops, there's a missing slash:

cd ~/.local/share/zeitgeist

The database is locked, but yes, the location is in Recently used - any chance of using the blacklist globally?
I guess this changes the bug to Wishlist.

Richard Klein (kleinric) wrote :

My understanding here might be wrong, please correct me if I am: but surely if the items are blacklisted, then Zeitgeist shouldn't be logging them in the first place?

I find I have this same problem, but Gnome-Activity-Journal is showing everything as well. It seems to me that this is an issue with Zeitgeist not necessarily with Synapse?

Richard Klein (kleinric) wrote :

I did some playing and I have a workaround at least...

I've posted a bug to the Zeitgeist guys with what I believe is the problem: https://bugs.launchpad.net/zeitgeist/+bug/724909

If you use Ubuntu Tweak (or probably any other method) to disable the "Recent Documents" list. Then Zeitgeist stops logging the blacklisted files.

Richard Klein (kleinric) wrote :

Apologies, I see using Ubuntu Tweak actually stops Zeitgeist as well... so my workaround, well, does work.

I still believe that the issue is with Zeitgeist not Synapse

On my system the blacklist for Zeitgeist is working properly and blacklisted locations are not logged or visible in Activity Journal.

My problem is that the locations do show up in my .recent-files and Synapse therefore displays them.

What I'm asking for is Synapse to check the Zeitgeist blacklist when going through the recent files list.

Richard, make sure your blacklist entries are in the form of "file:///path/to/location/*".

Launchpad Janitor (janitor) wrote :

[Expired for Synapse because there has been no activity for 60 days.]

Changed in synapse-project:
status: Incomplete → Expired
Michal Hruby (mhr3) wrote :

This could use a workaround on synapse's side.

Changed in synapse-project:
milestone: none → backlog
status: Expired → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers