On May 1, 2007, at 11:17 AM, Karl Kleinpaste wrote: > Is there a mechanism defined in CLucene,
Lucene does not have any knowlege of what it is indexing. It is the calling program that opens a file, parses it into pieces and then hands those pieces to Lucene for indexing. > or in Sword's use of CLucene, > for noticing that a module's content has been updated more recently > than its CLucene index? Does the InstallManager delete a module before updating with a more recent version? Or does it just overwrite the module. If it does a recursive delete of the directory containing the module's data then it is handled. > > It seems as though all that can be done is to compare > modtime(DataPath/) against modtime(DataPath/lucene/) and re-invoke > mkfastmod if the module content is newer. This would handle the case where InstallManager is not used to download a module. _______________________________________________ sword-devel mailing list: [email protected] http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
