Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Cannot Reproduce
-
1.3
-
None
-
None
Description
Facet counts are returned as ruby Hash, which is unordered in Ruby 1.8. After evaling the hash, the sorting order is lost and the client program needs to re-sort the data.
A fix would be returning facet counts as array of pairs, instead, e.g.
[['foo', 10], ['bar', 8], ['baz', 6]]