Thunderstone
Site Admin
Posts: 2504 Joined: Wed Jun 07, 2000 6:20 pm
Post
by Thunderstone » Mon Mar 15, 1999 2:19 pm
Is there a way to get page counts for an index? One HTML table is
113 MB, can you estimate the number of pages indexed?
KMandalia
Posts: 301 Joined: Fri Jul 09, 2004 3:50 pm
Post
by KMandalia » Mon Aug 23, 2004 4:28 pm
How can i display something like google that gives total number of pages indexed by the walker on the main search form?
Something like 'Now searching' (count)'pages'.
give me the exact sql statement if possible.
mark
Site Admin
Posts: 5519 Joined: Tue Apr 25, 2000 6:56 pm
Post
by mark » Mon Aug 23, 2004 5:48 pm
IIRC you have version 4 or 5, not 2. The SQL to get the count of records still pretty much the same as above, "select count(Url) Totalpages from html". But it would be more efficient to query the result of the walk stored in the options table in the default database, "select String Totalpages from options where Profile='YOURPROFILENAME' and Name='SSc_npages'"
John
Site Admin
Posts: 2611 Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:
Post
by John » Tue Aug 24, 2004 9:47 am
Another way in the search script would be
<SQL "select npages from counts">
<fmt "Now searching %kd pages." $npages>
</SQL>
as the counts table maintains a count of pages in each profile.
John Turnbull
Thunderstone Software
KMandalia
Posts: 301 Joined: Fri Jul 09, 2004 3:50 pm
Post
by KMandalia » Tue Aug 24, 2004 9:48 am
My Mistake. I was able to do what I wanted after trying a couple of things. I should have tried a little more before posting.
Thanks.