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:
3b27762
)
Fix bug in retrieval code. If present request was out of sortmax
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 14 Apr 2005 12:01:22 +0000
(12:01 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 14 Apr 2005 12:01:22 +0000
(12:01 +0000)
range it would not return all hits (or report error).
index/zsets.c
patch
|
blob
|
history
diff --git
a/index/zsets.c
b/index/zsets.c
index
01ef906
..
4bec43b
100644
(file)
--- a/
index/zsets.c
+++ b/
index/zsets.c
@@
-1,4
+1,4
@@
-/* $Id: zsets.c,v 1.78 2005-03-08 14:02:15 adam Exp $
+/* $Id: zsets.c,v 1.79 2005-04-14 12:01:22 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
@@
-419,7
+419,7
@@
ZebraMetaRecord *zebra_meta_records_create (ZebraHandle zh, const char *name,
if (sort_info)
position = sort_info->num_entries;
- while (num_i < num && positions[num_i] < position)
+ while (num_i < num && positions[num_i] <= position)
num_i++;
if (sset->cache_rfd &&