projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make section_id part of multi-value sort (one sort chunk / section).
[idzebra-moved-to-github.git]
/
index
/
zsets.c
diff --git
a/index/zsets.c
b/index/zsets.c
index
b81dce6
..
8a3f66a
100644
(file)
--- a/
index/zsets.c
+++ b/
index/zsets.c
@@
-576,7
+576,7
@@
void resultSetInsertSort(ZebraHandle zh, ZebraSet sset,
criteria[i].ord[database_no]);
zebra_sort_type(zh->reg->sort_index, criteria[i].ord[database_no]);
wrbuf_rewind(w);
criteria[i].ord[database_no]);
zebra_sort_type(zh->reg->sort_index, criteria[i].ord[database_no]);
wrbuf_rewind(w);
- if (zebra_sort_read(zh->reg->sort_index, w))
+ if (zebra_sort_read(zh->reg->sort_index, 0, w))
{
/* consider each sort entry and take lowest/highest one
of the one as sorting key depending on whether sort is
{
/* consider each sort entry and take lowest/highest one
of the one as sorting key depending on whether sort is