Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# swilliam 5/17/2007 6:39 AM
Dear All

I have a new module that I'm considering putting into contrib *if* I can get it to work reliably and *if* it's useful.

It has no end user UI and implements ISearchable. It scans a configured folder when the index is rebuilt and adds the contents to Cuyahoga's index as would a standard searchable module. It can index PDFs, Word files, text files, Excel etc etc or anything that has a registered IFilter implementation.

It provides a wrapper around some of the Seekafile code (http://blog.dotlucene.net/2006/02/introducing-seekafile-server-10-open.html) so I'm not sure about licencing implications. I'm currently using a dll with only the relevant files but am tempted to supply the relevant source files with the module.

I have it working perfectly on my development machines but can't get it to work on our development servers or live servers. There may be some misconfiguration, some dependencies missing, but I have yet to get to the bottom of it.

Many thanks

Simon
# gedw99 5/19/2007 11:53 AM
Hey Simon,

I was just thinking about this a few days ago.

I was looking at the Contrib project for "document management" and was thinking how it would be great if the searching mechanism could reach into the documents too index and make them searchable themselves too.

Of course this would also mean that the main search input module should be controlled so that it can be configured to only search for certain types of Modules maybe and even by module type. Thsi si essentially just a filter on the results returned.

SO i think its an awesome idea.
# swilliam 5/20/2007 7:30 PM
This module has now been added to contrib under the name 'FileIndexer'. Any comments would be most welcome.

Many thanks

Simon
# martijnb 5/21/2007 8:05 AM
Very cool Simon!

I'm especially interested in the experiences with the IFilters. There are some negative stories about these because of the P/Invoke-COM interop stuff that is required. This is the reason why I haven't tried to implement ISearchable in the downloads module for example (which would also be an awesome feature).
# swilliam 5/21/2007 8:17 AM
Martijn

I've heard mixed reviews too about IFilter. The main driver was to index PDFs, and since Adobe reader comes bundled with its own IFilter implementation I thought it sensible to use that rather than to write my own.

I think the main benefit of this module is to index items uploaded with FCKEditor since the Static Html module will never know what files may have been added.

Simon