Skip to main content

[JAVAHELP] Searching stops after tables

7 replies [Last post]
Anonymous

I am using the jh2.0.

I am trying to search for a word like "curve" in the following text.

Creates an implicit (Type 27) 3D curve from two 2D curves of any type.

( TABLE here)

A Type 27 Two View 3D curve is created from the input 2D VIEW-1-CURVE
and VIEW-2-CURVE.

It finds the very first curve but does not find curves or the curve
after the table. Any ideas?

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

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.
Ray, Stephen L

Binky,

I'm sure there are more than 1 hundred entries but it doesn't find all
in one file, it seems to find them randomly. It does seem to be
consistent that it finds the first entries in the file.

-----Original Message-----
From: Roger Brinkley [mailto:Roger.Brinkley@SUN.COM]
Sent: Tuesday, October 07, 2003 11:33 AM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Searching stops after tables

Ray, Stephen L wrote:
> Roger,
>
> It is fairly consistent, I get only the first several curve references

> on a page. The number of hits is consistent with the number of
> highlighted words but nowhere represents the number of actual
> occurances in the file.

One thing I forgot. Run jhsearch on your search database and type in the
word "curve". See if you have more than 100 entries. If you do then
that's the problem (one that should be fixed but alas not this release).
The search will only match the first 100 entries it finds.

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.

Roger Brinkley

Ray, Stephen L wrote:
> Binky,
>
> I'm sure there are more than 1 hundred entries but it doesn't find all
> in one file, it seems to find them randomly. It does seem to be
> consistent that it finds the first entries in the file.

When the database of terms is searched it isn't necessarily searched by
files. Unfortunately it cuts off the matches at 100. Once it reaches
that limit it's done. While the 100 number is bit arbitrary, there are
reasons for it, but it should allow matches that are equal in quality
points to the highest match. Which is something that we won't get to for
the 2.0_01 release.

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.

Ray, Stephen L

Roger,

It is fairly consistent, I get only the first several curve references
on a page. The number of hits is consistent with the number of
highlighted words but nowhere represents the number of actual occurances
in the file.

<>

-----Original Message-----
From: Roger Brinkley [mailto:Roger.Brinkley@SUN.COM]
Sent: Tuesday, October 07, 2003 10:48 AM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Searching stops after tables

Ray, Stephen L wrote:
>>I am using the jh2.0.
>>
>>I am trying to search for a word like "curve" in the following text.
>>

I took a look at the file you sent and I'm not able to reproduce the
problem (cringe). I took your file and put just it through the jhindexer
creating a JavaHelp search database and then ran jhsearch on the
results. You can see all of the curves are correctly recorded. Then
using the -debug flag I ran hsviewer on the holidays demo and opened the
type27help.htm file. Select the show tree option and double click on
each curve. This will select the text and show where it exits in the
position tree. From what I could tell all the curves where positioned
correctly.

Finally I added type27help.htm to the holidays demo and rebuilt the
search database. All the curves appeared, but I did notice that some of
the curve(s) weren't highlighted until I scrolled. If you're not seeing
all the curves highlighted try scrolling. That will tell us if the
problem is really swing highlighting issue or not.

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.
[att1.html]

Roger Brinkley

Ray, Stephen L wrote:
> Roger,
>
> It is fairly consistent, I get only the first several curve references
> on a page. The number of hits is consistent with the number of
> highlighted words but nowhere represents the number of actual occurances
> in the file.

One thing I forgot. Run jhsearch on your search database and type in the
word "curve". See if you have more than 100 entries. If you do then
that's the problem (one that should be fixed but alas not this release).
The search will only match the first 100 entries it finds.

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.

Ray, Stephen L

Roger,

Here is an example html file . It is part of very large help
environment but the behavior is consistent. Note that this is a MS Word
converted to html file. It has lots of junk html in it.

-----Original Message-----
From: Roger Brinkley [mailto:Roger.Brinkley@SUN.COM]
Sent: Wednesday, September 24, 2003 1:42 PM
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] Searching stops after tables

Ray, Stephen L wrote:
> I am using the jh2.0.
>
> I am trying to search for a word like "curve" in the following text.
>
> Creates an implicit (Type 27) 3D curve from two 2D curves of any type.
>
> ( TABLE here)
>
> A Type 27 Two View 3D curve is created from the input 2D VIEW-1-CURVE
> and VIEW-2-CURVE.
>
>
> It finds the very first curve but does not find curves or the curve
> after the table. Any ideas?

It's a bug not handling the table correctly. If you send me the html
file (or a reasonable facsimily) I'll take a look at it for V2.0.1. Also
send me any ancillary files.

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.
[att1.html]

Roger Brinkley

Ray, Stephen L wrote:
>>I am using the jh2.0.
>>
>>I am trying to search for a word like "curve" in the following text.
>>

I took a look at the file you sent and I'm not able to reproduce the
problem (cringe). I took your file and put just it through the jhindexer
creating a JavaHelp search database and then ran jhsearch on the
results. You can see all of the curves are correctly recorded. Then
using the -debug flag I ran hsviewer on the holidays demo and opened the
type27help.htm file. Select the show tree option and double click on
each curve. This will select the text and show where it exits in the
position tree. From what I could tell all the curves where positioned
correctly.

Finally I added type27help.htm to the holidays demo and rebuilt the
search database. All the curves appeared, but I did notice that some of
the curve(s) weren't highlighted until I scrolled. If you're not seeing
all the curves highlighted try scrolling. That will tell us if the
problem is really swing highlighting issue or not.

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.

Roger Brinkley

Ray, Stephen L wrote:
> I am using the jh2.0.
>
> I am trying to search for a word like "curve" in the following text.
>
> Creates an implicit (Type 27) 3D curve from two 2D curves of any type.
>
> ( TABLE here)
>
> A Type 27 Two View 3D curve is created from the input 2D VIEW-1-CURVE
> and VIEW-2-CURVE.
>
>
> It finds the very first curve but does not find curves or the curve
> after the table. Any ideas?

It's a bug not handling the table correctly. If you send me the html
file (or a reasonable facsimily) I'll take a look at it for V2.0.1. Also
send me any ancillary files.

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.