Re: [Tracker] 0.6.4 now in svn - awaiting testing before release



On Tue, 2007-10-09 at 20:22 +0000, yelo_3 wrote:
Jamie wrote:
we now delete dud hits so if you research again the correct totals
should appear

hit counts are estimates only and may include deleted items - as soon
 as
a deleted item is detected when you click on a category it is then
deleted from the index so a research should show correct totals

I guess we can refresh the hit counts after searching

remember that if you don't delete the indexed content when a file is changed/deleted the results will 
contain unwanted data.
This is a simple example, I've already written this, but I'd like to know your opinion, and maybe find a 
way to workaround this, without modifying the index, as it is a long process as you told us.

when a file is deleted the index contents wont hit anything (the ID of
the doc is no longer in the db)

when changed the difference in contents is worked out and applied



Example: when a file a.txt is modified, the index still contains the old file content. So if I search for 
the old file content, between the results I will have a.txt, even if the content is completely different.
Possible workaround: check the file content before adding it to results. maybe it is too heavy...

I can replicate that - its a bug in the diff that must be fixed
urgently... (and no its not heavy it should be doing that!)






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