From: Kevin O. <ke...@tu...> - 2004-04-10 22:59:30
|
Hi Vaclav, On Apr 10, 2004, at 3:27 PM, Vaclav Slavik wrote: > Hi, > > Kevin Ollivier wrote: >> In regards to the ".book" format, I just thought of a simpler >> solution that meets my needs. =) Just update the book loading code >> to try and guess the content format (i.e. if it has extension .html >> or .htm, it's probably HTML. =) and load the file. It will also >> check for a fulltext index, and if it exists, automatically turn on >> indexing. > > It can't -- the index is managed by Documancer, so there's no such > thing as already existing index (how would it determine its > location?). In the case of a user loading an EClass into Documancer, there may be an existing index file which was created by EClass. (EClass uses SWISH-E indexing for full text search on CD, and eventually web too.) I was hoping that I could make use of the existing index file instead of having Documancer re-create the index file. In the case of EClass, the index file is in the root directory of the EClass (usually the CD root dir), so Documancer could see if there is an index file there, and if so, use it. Thanks, Kevin |