Is it not working or am I misunderstanding what it's supposed to do? Here's what I did:
I ran the existing DirTree.pl on some simple files:
DirTree.pl worked as expected. (Plain.txt was indexed and picture.jpg was skipped because it's a binary.) However, changing the filenames to:
plain.txt => fake.jpg
picture.jpg => fake.txt
completely threw off Swish::Filter. The plain.txt file was no longer indexed and the fake.txt was indexed.
Isn't Swish::Filter supposed to be using mime types to determine the file type? (and not the extension?)
--Thanks and God bless!
Users mailing list
Received on Mon Jul 14 13:21:37 2008