Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] indexing with - help needed

From: Peter Karman <peter(at)>
Date: Sat Dec 22 2007 - 04:03:49 GMT
mattack wrote on 12/14/07 4:45 PM:

> Here are my problems and questions.
> *I'm really confused by the documentation. It assumes a lot of
> knowledge that I don't have and seems scattered.

agreed. a doc overhaul is planned for 2.6.

> * swish-e indexes hidden directories and files even though I added the
> example code to not index them into How can I stop this?

see below.

> * I'd like the name of the file to show up in searches by "Title &
> Body" in swish.cgi even if swish-e doesn't know how to filter the
> contents, including text documents with no extension. This is not
> happening. What can I do to make this happen?


> * Is there a way to index files? both spreadsheet and
> word processor? Can someone point me in a direction to look?

There's some mention of OO filters in the mail archive but no code.

I would check out unoconv and maybe write up a SWISH::Filters::OOffice around that.

> sub check_dir {
>     my $dir = shift;
>     return ! m[^\.]; # don't process .directories

should be:

      return $dir =~ m[^\.]; # don't process .directories

Peter Karman  .  .  peter(at)
Users mailing list
Received on Fri Dec 21 23:03:56 2007