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. This patch therefore adds the default of 1000 to zebra-biblios.cfg. Does not change any Koha/Zebra behavior. If you want to test it, look for a search in your catalog with >1000 results. Look at the order of the records. Now apply the patch and copy the zebra-biblios.cfg to your zebra directory. Increase sortmax, reindex and search again. If you increased sortmax above the number of hits, you should see a difference in sort order now.
Created attachment 5918 [details] [review] Patch
Updating Version : This ENH will be for Koha 3.8
Bug versionned for master. entries will be made against rel_3_8 once the patch has been applied (see thread about that on koha-devel yesterday)
Created attachment 6170 [details] [review] 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 <chrisc@catalyst.net.nz>
Adds a valid zebra param to the config, set explicitly to the default (so no change in default behaviour is created). The presence of this param, and the comments, provide the user with more flexibility in their Zebra install. Marking as Passed QA
patch pushed, please test
*** Bug 15331 has been marked as a duplicate of this bug. ***