swish-e for Debian
==================

For users:
----------

To add a few filters to swish-e, add the following lines to your Swish 
configuration file (you'll need to install xpdf-utils, wv and libmp3-tag-perl):

  FilterDir   /usr/share/doc/swish-e/examples/filter-bin
  Filefilter  .pdf   swish_filter.pl %p
  Filefilter  .doc   swish_filter.pl %p
  Filefilter  .xls   /usr/bin/xls2csv %p
  Filefilter  .ppt   /usr/bin/catppt %p
  Filefilter  .vsd   /usr/bin/wvSummary %p
  Filefilter  .mpp   /usr/bin/wvSummary %p
  Filefilter  .mp3   swish_filter.pl %p
  # Open Office filter
  FileFilterMatch "/usr/bin/unzip" "-p %p content.xml" /\.(sxw|sxc|sxg|sxi|odt)$/i
  # Simple Maildir filter
  FileFilterMatch "sed" "-n 1,/base64/p < %p" /\,S$/
  # Improved Maildir filter which needs the 'hypermail' package
  # FileFilterMatch "/usr/share/doc/swish-e/examples/swish-mail" %p /\,S$/

You can find even more filter in the sample configuration file:
/usr/share/doc/swish-e/examples/swish.config
  
Indexing the Debian documentation:

In the examples directory, 'swish-debiandoc' indexes the whole Debian 
documentation, and 'search-debiandoc' searches the index created in 
/var/cache/swish-e/.

Web interface:

If you need a WEB interface start with 'swish.cgi'. It's very simple to set-up 
and use.

For developers:
---------------

If you need headers and static swish-e libraries, please install the
swish-e-dev package.

