Skip to main content.
home | support | download

Back to List Archive

[swish-e] Swish::Filter not working?

From: <amscopub-pcshop(at)not-real.yahoo.com>
Date: Mon Jul 14 2008 - 17:21:35 GMT
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:
    plain.txt
    picture.jpg
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?) 

SWISH-E 2.4.5
OpenSuse 10.2
Linux 2.6.23.14


 --Thanks and God bless!

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon Jul 14 13:21:37 2008