From 92913a2f3f478628ff04f6c9e8d5f1b3db8d74a4 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 17 Oct 2011 09:28:38 +0200 Subject: [PATCH] Bug 7041: Sort >1000 search results with sortmax parameter in zebra config file By default, zebra does not sort more than 1000 records (search results). You can increase this number by adding the sortmax parameter in zebra-biblios.cfg. Putting this value in Koha's zebra config file will make this default value visible and make it easier to increase it if one prefers that. Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain --- etc/zebradb/zebra-biblios.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/zebradb/zebra-biblios.cfg b/etc/zebradb/zebra-biblios.cfg index 6de43bf6b9..b461a64542 100644 --- a/etc/zebradb/zebra-biblios.cfg +++ b/etc/zebradb/zebra-biblios.cfg @@ -57,3 +57,8 @@ keyTmpDir: __ZEBRA_DATA_DIR__/biblios/key memMax: 50M rank:rank-1 truncmax: 1000000000 + +# Specifies the maximum number of records that will be sorted in a result set. +# If the result set contains more than that limit, the records after the limit +# will not be sorted. If omitted, the default value is 1,000. +sortmax: 1000 -- 2.20.1