[Koha-bugs] [Bug 7041] New: Sort >1000 search results with sortmax parameter in zebra config file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 17 09:31:20 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7041

             Bug #: 7041
           Summary: Sort >1000 search results with sortmax parameter in
                    zebra config file
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Searching
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: m.de.rooy at rijksmuseum.nl
         QAContact: koha-bugs at lists.koha-community.org


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.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list