[Xapian-discuss] Omindex Filters

Frank J Bruzzaniti frank.bruzzaniti at gmail.com
Mon Sep 15 13:29:16 BST 2008


Guy's,

I was wondering if it would be a bad idea to have a way to incorporate 
plugins/filters in a way that would allow us to chop and change filters 
without having to recompile and edit the source.

E.g.

You have a filters.conf where you specify the mimetype of the filter and 
the command line.

The "command" could be another  executable or script which decodes the 
input file as text to stdout.

Then when omindex run's it checks the mime type's against what's in 
filters.conf and runs and "commands" and then receives the output.

It would allow us to chop and change filters without having to recompile 
and edit the source, it would also it think encourage people to submit 
plugins as independent packages.

Frank



More information about the Xapian-discuss mailing list