#871 suggestion
Shane Hanna

Is Searchable should retain result order.

Reported by Shane Hanna | May 30th, 2009 @ 02:52 AM

As discussed dm-is-searchable should retain the result order from the search adapter since that's what they are good at.

DKubb suggested taking the "results we get from the storage repository and pushing them on to a Hash, where the key is the Resource Key and the value is the Resource (so basically the same structure as the IM), and then return: hash.values_at(*ids_from_search_in_order)"


Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket