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:
35f5aba
)
For trunctations, only 20 temp sets are merged at a time (truncchunk)
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 25 Aug 2005 10:37:05 +0000
(10:37 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 25 Aug 2005 10:37:05 +0000
(10:37 +0000)
index/trunc.c
patch
|
blob
|
history
diff --git
a/index/trunc.c
b/index/trunc.c
index
fc1f872
..
1c70d4f
100644
(file)
--- a/
index/trunc.c
+++ b/
index/trunc.c
@@
-1,4
+1,4
@@
-/* $Id: trunc.c,v 1.62 2005-07-21 13:05:16 adam Exp $
+/* $Id: trunc.c,v 1.63 2005-08-25 10:37:05 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-457,7
+457,7
@@
RSET rset_trunc(ZebraHandle zi, ISAM_P *isam_p, int no,
yaz_log(YLOG_WARN, "Unknown isam set in rset_trunc");
return rsnull_create(rset_nmem, kctrl, 0);
}
yaz_log(YLOG_WARN, "Unknown isam set in rset_trunc");
return rsnull_create(rset_nmem, kctrl, 0);
}
- trunc_chunk = atoi(res_get_def(zi->res, "truncchunk", "100"));
+ trunc_chunk = atoi(res_get_def(zi->res, "truncchunk", "20"));
result = rset_trunc_r(zi, term, length, flags, isam_p, 0, no, trunc_chunk,
preserve_position, term_type, rset_nmem, kctrl,
scope, termid);
result = rset_trunc_r(zi, term, length, flags, isam_p, 0, no, trunc_chunk,
preserve_position, term_type, rset_nmem, kctrl,
scope, termid);