Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 90749 invoked from network); 6 May 2009 15:25:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 May 2009 15:25:53 -0000 Received: (qmail 69217 invoked by uid 500); 6 May 2009 15:25:52 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 68976 invoked by uid 500); 6 May 2009 15:25:52 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 68923 invoked by uid 99); 6 May 2009 15:25:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 15:25:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2009 15:25:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 69FCC234C045 for ; Wed, 6 May 2009 08:25:30 -0700 (PDT) Message-ID: <271012387.1241623530433.JavaMail.jira@brutus> Date: Wed, 6 May 2009 08:25:30 -0700 (PDT) From: =?utf-8?Q?Max_Sch=C3=B6fmann_=28JIRA=29?= To: solr-dev@lucene.apache.org Subject: [jira] Closed: (SOLR-1148) with code generated by the RubyWriter sorted facets are are actually unsorted in Ruby 1.8 In-Reply-To: <1087314751.1241616270928.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1148?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Max Sch=C3=B6fmann closed SOLR-1148. ------------------------------- > with code generated by the RubyWriter sorted facets are are actually unso= rted in Ruby 1.8 > -------------------------------------------------------------------------= ---------------- > > Key: SOLR-1148 > URL: https://issues.apache.org/jira/browse/SOLR-1148 > Project: Solr > Issue Type: Bug > Components: clients - ruby - flare > Affects Versions: 1.3 > Reporter: Max Sch=C3=B6fmann > Priority: Minor > > Facet counts are returned as ruby Hash, which is unordered in Ruby 1.8. A= fter evaling the hash, the sorting order is lost and the client program nee= ds to re-sort the data. > A fix would be returning facet counts as array of pairs, instead, e.g.=20 > [['foo', 10], ['bar', 8], ['baz', 6]] --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.