Skip to main content

Re: [JAVAHELP] Search freezes in statically merged helpsets - v2.0

1 reply [Last post]
Anonymous

I've been testing statically merging helpsets with JavaHelp 2.0. The TOC and
Index work great, but Search only searches the database for the master
helpset. Is this problem connected with the bug Binky references below? (By
the way, I wasn't able to find the bug in the Bug Parade.)

If not, are there any other reasons why Search isn't searching the
subhelpsets? The helpset files are all specifying the Search view in exactly
the same way.

Thanks.

Ed

On Wed, 24 Sep 2003 13:44:17 -0600, Roger Brinkley
wrote:

>java-help@JAVADESKTOP.ORG wrote:
>> Hello, javahelp gurus.
>>
>> I am a newbie to Java and JavaHelp, so please be brutally explicit
>> with any help you may have for me.
>>
>> I've been assigned the task of deciding which route to go to merge
>> all of our helpsets for a single TOC view. I have the dynamic merge
>> working, and that's great. But the static merge has a problem:
>>
>> I have a dataless master helpset file with a to test the
>> static merge. TOC navigation is fine, and we haven't implemented the
>> index yet, so no problem there, but when I try to search, I get the
>> little clock for a cursor and nothing is ever displayed in the search
>> pane. No exceptions are thrown, either, but one message does appear
>> after the command line:
>>
>> MergineSearchEngine: startSearch()
>>
>> I have tried this with the helpsets inside jars, outside jars, in
>> different paths, but I always get the same error. I did get a
>> different result when using a data-full master helpset, but it still
>> didn't work as expected. The only search results I got were from the
>> master helpset, none from the subhelpset.
>>
>
>The problem has been fixed and will appear in V2.0.1 which is currently
>scheduled for early October. The bug number is 4927588. The problem was
>in BasicSearchNavigaorUI was incorrectly calling the local method
>merge(NavigatorView) instead of searchnav.merge(NavigatorView). This
>caused the added subHelpSet to not get added to the MergeSearchEngine.
>This bug only occurs when the merged helpset is merged in before
>JHelpSearchNaviagor is realized.
>
>Binky
>
>********************************************************************************
>
>You may leave the list at any time by sending message with no subject and
>"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
>are available at http://archives.java.sun.com/archives/javahelp-interest.html.
>Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
brinkley
Offline
Joined: 2003-06-06
Points: 0

It's a bug that has been fixed in V2.0_01.

Binky