Re: [Tracker] tracker's database keeps stale data around



On 1/3/07, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
Tshepang Lekhonkhobe wrote:
> Hi,
>
> Tracker's database data is not deleted when, for example, a certain
> path is on NoWatchDirectory.
> I tested by putting /home/user/temp on NoWatchDirectory which had some
> text file whose contents continued appearing on the search results.
> This becomes a problem because if one modifies such a file, wrong
> results appear since such a file's directory is not watched anymore.

we cant delete stuff in tracker thats not being actively watched (which
means NoWatchDirectories)

They should not even be indexed in the first place. I guess we could
clear out any data in tracker which references nowatch stuff at start up

I should have explained that such data was indexed before. I then
killed trackerd, modified the tracker.cfg file to stop watch on a
previously-indexed directory, and then started trackerd.

> Another problem that should be related is that Tracker's log file
> lists that I have over 20,000 audio files while I only have about
> 10,000, and I only additionally track /usr/share/doc which I doubt
> should contain any audio files, especially that many.

are you sure?

Can you run "tracker-stats" to confirm?

This is the data I read on tracker.log on startup. Does it suffice?

if so bear in mind that any file of mime type audio/* is considered
audio (IE wav, voc, real, snd and other audio formats)

I'm aware of that and I can assure you that I don't have that many.
I just installed 0.5.3 which is currently indexing, and I will confirm
if the problem remains (or if I really have that many audio files).



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]