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:
810bce6
)
For approx_limit == 0, use unlimited hit count
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 10 Jun 2005 10:55:18 +0000
(10:55 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 10 Jun 2005 10:55:18 +0000
(10:55 +0000)
index/zebraapi.c
patch
|
blob
|
history
diff --git
a/index/zebraapi.c
b/index/zebraapi.c
index
d536064
..
9a85e32
100644
(file)
--- a/
index/zebraapi.c
+++ b/
index/zebraapi.c
@@
-1,4
+1,4
@@
-/* $Id: zebraapi.c,v 1.175 2005-06-09 10:39:53 adam Exp $
+/* $Id: zebraapi.c,v 1.176 2005-06-10 10:55:18 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
@@
-867,6
+867,8
@@
ZEBRA_RES zebra_select_databases (ZebraHandle zh, int num_bases,
ZEBRA_RES zebra_set_approx_limit(ZebraHandle zh, zint approx_limit)
{
+ if (approx_limit == 0)
+ approx_limit = 2000000000;
zh->approx_limit = approx_limit;
return ZEBRA_OK;
}