[bt-devel] search

Martin Gruner bt-devel@crosswire.org
Thu, 17 Aug 2000 16:42:37 +0200


Am Don, 17 Aug 2000 schrieb Joachim Ansorg:
> Hi!
>
> > Hi,
> >
> > if I try to search a bible now for the word "amen", bt will say "create
> > framework", then wait a LONG time, then search.  ??? It is not
> > interruptable in this time...
>
> Create framework was a quick and dirty thing to test Troys new fast search
> engine (with indexing). I removed it in current CVS, try again. We'll
> probably put the creation of the index files into the optionsdialog or an
> extra dialog poing up if new modules are installed without a search index.
>
> > I installed the modules from CD, but some of them won't display, though I
> > can see their module information.  ???
>
> Permission problems or wrog paths to the data files?
> The moduleinformation is from mods.d/module.conf, the data files are undex
> modules/..../modules/*

I know. I don't think it is caused by permission problems. I just installed 
all the modules via installmgr, so the permissions seem to be the same with 
all of the modules. I have no reason for this behaviour. Can somebody help?
BT finds the module, can display the module info, but will just display blank 
pages.

>
>
> Now some comments to the threaded search:
>
> IMHO module->terminateSearc should be set to false before we start the
> search, otherwise the modules won't be searched through (it's cancels
> because terminateSearch is true), if the searchdialog was closed we should
> tzreminate the search.

originally this is not necessary. look at swmodule.cpp - before every search 
this is set to false. the only issue is IMO that searches are not 
interruptable when creating the search framework. sword will set 
terminatesearch to false again after I set it to true....

>
> Maybe we could implement a bar showing how much percent we search already?

I like this Idea very much, but that has to be done in sword.

Joachim, there are some errors in the make process, could you fix it please.


Martin
>
> > thanx
> >
> > Martin
>
> --Joachim