projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bfa7f97
)
More verbose in count_set.
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 6 Dec 1995 15:05:28 +0000
(15:05 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 6 Dec 1995 15:05:28 +0000
(15:05 +0000)
index/zrpn.c
patch
|
blob
|
history
diff --git
a/index/zrpn.c
b/index/zrpn.c
index
115f691
..
a8ce682
100644
(file)
--- a/
index/zrpn.c
+++ b/
index/zrpn.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zrpn.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zrpn.c,v $
- * Revision 1.36 1995-12-06 12:41:27 adam
+ * Revision 1.37 1995-12-06 15:05:28 adam
+ * More verbose in count_set.
+ *
+ * Revision 1.36 1995/12/06 12:41:27 adam
* New command 'stat' for the index program.
* Filenames can be read from stdin by specifying '-'.
* Bug fix/enhancement of the transformation from terms to regular
* New command 'stat' for the index program.
* Filenames can be read from stdin by specifying '-'.
* Bug fix/enhancement of the transformation from terms to regular
@@
-1173,6
+1176,7
@@
static RSET rpn_search_structure (ZServerInfo *zi, Z_RPNStructure *zs,
static void count_set (RSET r, int *count)
{
int psysno = 0;
static void count_set (RSET r, int *count)
{
int psysno = 0;
+ int kno = 0;
struct it_key key;
RSFD rfd;
struct it_key key;
RSFD rfd;
@@
-1186,9
+1190,10
@@
static void count_set (RSET r, int *count)
psysno = key.sysno;
(*count)++;
}
psysno = key.sysno;
(*count)++;
}
+ kno++;
}
rset_close (r, rfd);
}
rset_close (r, rfd);
- logf (LOG_DEBUG, "%d distinct sysnos", *count);
+ logf (LOG_DEBUG, "%d keys, %d distinct sysnos", kno, *count);
}
int rpn_search (ZServerInfo *zi,
}
int rpn_search (ZServerInfo *zi,