[ECODP-dev] CKAN search sorting order

John Glover john.glover at okfn.org
Tue Apr 30 15:22:56 UTC 2013


Hi Bert,

The order of lists in CKAN comes from a mixture of Python and Solr
(depending on the list).

In general, the big lists of datasets (that are searchable) come from Solr.
We are using Solr 1.4.x as that was the version that is packaged for our
CentOS/Redhat version, which is quite a bit behind current stable releases
(by a few years I think). It does not seem feasible to create individual
sort orders for different languages in this version. However, we could
create a simple sort of unicode characters by basically converting them
back to ascii in the index (so ä would be the same as a). This will require
rebuilding the search index. To do anything more complicated would probably
require upgrading Solr.

Smaller lists are sorted in Python and we should be able to provide a
sensible general unicode sorting for these as well, although again it will
be more work if we have to look at doing it on a language-specific basis.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130430/a9674fd6/attachment.html>


More information about the ecodp-dev mailing list