From: Mark T. <ma...@di...> - 2012-04-10 22:42:20
|
Hi Josu, I think what you need shouldn't be hard to do. The browse code uses one value for sorting and another for display, so we just need to adjust the sort key so that things come out the way we want. I've pushed a small change to the code here: https://github.com/marktriggs/nla-browse-handler/tree/diacritic-sorting But I might need some help testing it out if you're willing. You can either check out and build the code yourself, or just grab the versions I've compiled from here: https://github.com/downloads/marktriggs/nla-browse-handler/browse-handler.jar https://github.com/downloads/marktriggs/nla-browse-handler/browse-indexing.jar You will just need to: * Replace /path/to/vufind/import/browse-indexing.jar with the above version * Replace /path/to/vufind/solr/lib/browse-handler.jar with the above version * Rebuild your browse indexes (using the "index-alphabetic-browse" script) * Restart your Solr instance With any luck you'll see things sorting the way you expect after that, but let me know if things still don't look right Thanks! Mark "Josu" <jm...@sc...> writes: > Hello, > > First of all, our library catalogues in Spanish so we use the Latin1 > Alphabet (ISO 8859-1). > > In the module “Browse Alphabetically” the sorting function is doing a binary > sort while in libraries people is used to a linguistic sort. -- Mark Triggs <ma...@di...> |