Hello,

Today I wrote a small utility that allows to erase records from
cache-mode DB by their url_id. But it didn't work because of one splitter
bug/missing feature. My utility produced only del-log, (*.del). .wrd
file was null. Then indexer -p moved that .del file to
/splitter/del.log. There were no more files in splitter directory. 
Then indexer without any parameters did nothing.

When indexing something, function UdmSplitCacheLog from cache.c gets
called for each log file. In this way URLs don't get deleted because
UdmSplitCacheLog returns IND_ERROR if it doesn't find corresponding .log
file. And some don't get deleted because UdmSplitCacheLog doesn't get
called because some log files don't exist. I think UdmSplitCacheLog should
be called for each of 0xFFF log files and it should repack cache mode db
file even if .log file doesn't exist, deleting the URLs needed. Fix me if
I'm wrong ://

BTW, where does indexer store temporary cache mode db files?

Teofilis Martisius,
[EMAIL PROTECTED]

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to