Subject: Re: [htdig] Htdig not displaying results more than 9 pages
From: Gilles Detillieux (email@example.com)
Date: Fri Aug 11 2000 - 08:24:43 PDT
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:firstname.lastname@example.org]
> Sent: Friday, August 11, 2000 3:34 PM
> To: Srini Sathya.
> Cc: email@example.com
> 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
> >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
-- Gilles R. Detillieux E-mail: <firstname.lastname@example.org> 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@example.com You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Thu Aug 10 2000 - 22:34:00 PDT