okay, how abt if no value set to the maximum_limit, then the default value
for the maximum_limit is having some 10,0000 instead of 10, becoz there
would be few people who will not set this attribute and will result in
getting only the first 10 pages, just my 2 cents abt htdig.
Cheers
Srini
-----Original Message-----
From: Gilles Detillieux [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 11, 2000 4:25 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [htdig] Htdig not displaying results more than 9 pages
According to Srini Sathya.:
> well, i think there should be some provision for showing the total number
of
> total pages of search, if this feature is not there right now, i would
> strongly recommend to add that in future version :):)
I don't understand what you mean by "showing the total number of total
pages". If you mean that you don't want htsearch to impose any limits at
all, then why is it so hard to believe that you can just set the limit
to a really big number? Did you read something somewhere that implied
the value of maximum_pages must be small? The only theoretical limit
is the maximum value of a 32-bit signed integer, 2^31 or over 2 billion.
If you set it to anything larger than
(# of document in db/results per page)
then you effectively have no limit to the number of pages - it will
give you as many pages as you need even if all documents in the database
are matched. What more do you need?
> -----Original Message-----
> From: Geoff Hutchison [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 11, 2000 3:34 PM
> To: Srini Sathya.
> Cc: [EMAIL PROTECTED]
> Subject: RE: [htdig] Htdig not displaying results more than 9 pages
>
>
> At 3:35 PM +0100 8/11/00, Srini Sathya. wrote:
> >okay, suppose i set the number to 20 and what will happen if my search
> >returns 22 pages, thats is what exactly my query??. Is there anyway to
> find
> >the total pages that a search returns thro htdig.
>
> Then it will show 20 pages.
>
> It will show max( (# of results/results per page), (maximum_pages))
I think Geoff means min( (# of results/results per page), (maximum_pages))
i.e. the lesser of the two values.
> In other words, if it has more than maximum_pages number of hits, it
> will only show up to that number of pages and no more.
>
> Does that make sense?
>
> --
> -Geoff Hutchison
> Williams Students Online
> http://wso.williams.edu/
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW:
http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.