FileIndexer: Really do not index file multiple times
In commit c4411982 I attempted to implement not re-indexing files which failed to index. However, my code made no sense! It attempted to set kext::indexingLevel to -1 if the nepomukindexer job returned with an error. But, the KJob never set an error even if the indexer returned 1, so nothing happened. Even when this was fixed, it still didn't work, because I was updating the indexingLevel of the current filename, not the resource URI of the current filename. So, to summarise, I was silly. This one works, and an easy way to test it is to replace /usr/bin/nepomukindexer with: #!/bin/bash exit 1 BUG: 324307
parent
9a4dcb1b
Please register or sign in to comment