Subject: | temp_directory must be on same partition as index |
Hi,
It seems that the -temp_directory option to Search::Kinosearch::Kindexer->new() has to be a path on the same partition as the -mainpath directory. This caught me out when I left it to the default of the current directory while putting the index on a different partition in case it got too big.
It failed with this message:
Couldn't move directory 'kinotemp_HKdy/subkindex0' to '/blah/index/subkindex0': Is a directory at index.pl line 49
The line number refers to the "$kindexer->write_kindex;" call in my 'index.pl' script.
It's probably not a big deal to make this work, since as things are it forces you to use a more efficient place for temp files, but I think the documentation should point this out prominently, both where -temp_directory is pointed out and probably in the synopsis where the indexer object is created.
hth,
geoff