[Zope] filename splitter

Tino Wildenhain tino at wildenhain.de
Tue Nov 15 08:54:00 EST 2005


Peter Bengtsson schrieb:
> Hi, I don't usually do this but I need your advise on something.
> It's a filename splitter for a KeywordIndex of File objects.
> http://www.peterbe.com/plog/filename-splitter
> By applying this splitter I hope to be able to search for files by
> parts of the filename.
> 
> Has anything like this been done before?
> Am I on the right track?
> Do you see any pitfalls?

I used a similar approach when we had to
enable people to search for products based
on name. So splitting on caMel and
digits was done too. Additionally I had
a stopword list in my case (to catch A4
P3 and so on)
For filenames I guess you dont need this.


More information about the Zope mailing list