>>The search and partial search are implemented as discussed (partial
>>matches match only the first part of a word, so for example searching
>>for "dog" will find "dogma" but not "maddog").
> This is entirely possible, just would have to iterate all the leaf nodes
> instead of the other method. Perhaps add another option in the ui.
What do you mean, matching "maddog"? Yes I know it's possible, but on
the Windows 2000 system where I cheched hh.exe it's pretty much the same
thing it does (it has a "Match similar words" checkbox which I suspect
matches all words that begin with are more than 50% of the searched
word), so I'm content with this search for now. Even the "Match partial
words" option tends to be a bit slow on big CHMs now, so I'll leave it
>>The case sensitive button will have to go, sorry.
> What you could do here is do the fast search first & then slow search the
> results to narrow them down.
Yes I know, would be pretty easy to implement too but I'd rather not
complicate (or slow :)) matters more than they have to be, so I'll get
0.8.1 out like this and add the "Case sensitive" checkbox back by
popular demand when it happens.
Also, the narrowing of the search is not really an option in the general
case because I would like the grep search to find even non-indexed words.
>>The last question on this theme I have is, some chm files aren't that
>>well built and the titles are not indexed so "Search titles only" yields
>>nothing even though the titles are there in the topics tree.
>>Do you think it would be better to go recursively through the topics
>>tree and find the title words anyway, or let it be? (hh.exe doesn't do
>>anything - no titles indexed no results).
> Most definately do this, but probly only after the search returns no
Yes but the search is probably not going to yield any results for 90% of
what the user can type, so I think one solution needs to be picked. I
think hh.exe knows if the CHM titles are indexed or not, because I have
some CHMs where hh.exe doesn't presend the "Search in titles" checkbox.
Anyway, this issue doesn't remain if I keep the "Grep mode" checkbox,
because the grep mode will not rely on the index, and in grep mode words
in titles will be found regardless of whether they have been indexed or
not. It only matters what I do if I get rid of the "Grep mode" checkbox,
so I guess the real pressing question is do I keep the "Grep mode"
checkbox or not?