Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion orderBy

Received: by 10.68.220.230 with SMTP id pz6mr16846542pbc.3.1340719655121;
        Tue, 26 Jun 2012 07:07:35 -0700 (PDT)
X-BeenThere: rogue-users@googlegroups.com
Received: by 10.68.240.165 with SMTP id wb5ls694252pbc.1.gmail; Tue, 26 Jun
 2012 07:07:31 -0700 (PDT)
Received: by 10.68.219.170 with SMTP id pp10mr16956543pbc.1.1340719651239;
        Tue, 26 Jun 2012 07:07:31 -0700 (PDT)
Received: by 10.68.219.170 with SMTP id pp10mr16956541pbc.1.1340719651209;
        Tue, 26 Jun 2012 07:07:31 -0700 (PDT)
Return-Path: <jlis...@foursquare.com>
Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54])
        by gmr-mx.google.com with ESMTPS id ir9si798278pbc.1.2012.06.26.07.07.31
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 26 Jun 2012 07:07:31 -0700 (PDT)
Received-SPF: pass (google.com: domain of jlis...@foursquare.com designates 209.85.210.54 as permitted sender) client-ip=209.85.210.54;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jlis...@foursquare.com designates 209.85.210.54 as permitted sender) smtp.mail=jlis...@foursquare.com
Received: by mail-pz0-f54.google.com with SMTP id v36so6363713dad.41
        for <rogue-users@googlegroups.com>; Tue, 26 Jun 2012 07:07:31 -0700 (PDT)
        d=google.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type:x-gm-message-state;
        bh=zZXwcBU9wqj569+h8gpETKjHd2ILLjvOKKSvWNG27mQ=;
        b=SxQSrgVCpGpW6DDPG/NOsGqMHtzyiFwSa4XvKwkZdk6/u7aNff3ziiWLX9WdGhutFU
         nUMHGcBFfZl/+NhuVgWJdQe7Yz7W0+eAAqkbagOBWyRcZLGQInnzRlx5evvTcJ2Lo7Xa
         SUVK+I0x8CUgXPHdEjdn5BxoQfw89xypmghsJ0RFIDP7nH/ub8r4MebSvc0AasXZPLzj
         Me9N/90WgdGJwnINjtp7XYsJ337JkILBjpFPlPoz10ooolvzTGqNVU6puORyE1093Ayf
         KwShyhjZ9aNoInVnKSI7dOcOFudYeDhT0Jfx5lBLemfhzBPvHQ82xUHi0qsyjDiPQQp9
         3nOg==
Received: by 10.68.228.136 with SMTP id si8mr52691457pbc.159.1340719650820;
 Tue, 26 Jun 2012 07:07:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.12.232 with HTTP; Tue, 26 Jun 2012 07:07:10 -0700 (PDT)
In-Reply-To: <CANEBM30oh6GkU8yqv5qL-+GA3ux87K1uMJfDBSHxwxNY2QU...@mail.gmail.com>
References: <CANEBM31GJWggXe_i75BmNWrVsKgnv0stUZPbLmXxNOU8wJS...@mail.gmail.com>
 <CAGxjH5VcE+=vJoVU+8jm=iQMOUrVEy1Nf7Zb26fZ98qeZSq...@mail.gmail.com> <CANEBM30oh6GkU8yqv5qL-+GA3ux87K1uMJfDBSHxwxNY2QU...@mail.gmail.com>
From: Jason Liszka <jlis...@foursquare.com>
Date: Tue, 26 Jun 2012 10:07:10 -0400
Message-ID: <CAGxjH5VoQZkKG8+4H3P1QS05uE_fNJ2XaND8nMV__JEv991...@mail.gmail.com>
Subject: Re: orderBy
To: rogue-users@googlegroups.com
Content-Type: multipart/alternative; boundary=047d7b2ede3587d3f504c3609ec3
X-Gm-Message-State: ALoCoQkOR1U+x1sU9c/RnjcSF8+kIa0FFMM2GpgKAcAsT06WTiQVDiqU81dxuZ2hj05vapW23evg

--047d7b2ede3587d3f504c3609ec3
Content-Type: text/plain; charset=ISO-8859-1

Yep, just a mongo limitation... you could also sort on the client side.

On Tue, Jun 26, 2012 at 10:05 AM, Joe Stein <crypt...@gmail.com> wrote:

> ok thanks, it makes me cringe having to store the field i want to sort by
> as another field in my document with the chars set toLowerCase() but such
> are things, se la vi
>
>
> On Tue, Jun 26, 2012 at 9:45 AM, Jason Liszka <jlis...@foursquare.com>wrote:
>
>> Mongo doesn't support case-insensitive sorting, so no, there's no way to
>> do it with rogue.
>>
>>
>> On Mon, Jun 25, 2012 at 10:00 PM, Joe Stein <crypt...@gmail.com> wrote:
>>
>>> quick question is there a way using orderBy so that A and a are treated
>>> the same, case insensitive?
>>>
>>> Thanks
>>>
>>> /*
>>> Joe Stein
>>> http://www.linkedin.com/in/charmalloc
>>> Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
>>> */
>>>
>>
>>
>
>
> --
>
> /*
> Joe Stein
> http://www.linkedin.com/in/charmalloc
> Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
> */
>

--047d7b2ede3587d3f504c3609ec3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Yep, just a mongo limitation... you could also sort on the client side.<br>=
<br><div class=3D"gmail_quote">On Tue, Jun 26, 2012 at 10:05 AM, Joe Stein =
<span dir=3D"ltr">&lt;<a href=3D"mailto:crypt...@gmail.com" target=3D"_blan=
k">crypt...@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">ok thanks, it makes me cringe having to stor=
e the field i want to sort by as another field in my document with the char=
s set toLowerCase() but such are things, se la vi<div>

<div><div class=3D"h5"><br><br><div class=3D"gmail_quote">On Tue, Jun 26, 2=
012 at 9:45 AM, Jason Liszka <span dir=3D"ltr">&lt;<a href=3D"mailto:jliszk=
a...@foursquare.com" target=3D"_blank">jlis...@foursquare.com</a>&gt;</span> w=
rote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Mongo doesn&#39;t support case-insensitive s=
orting, so no, there&#39;s no way to do it with rogue.<div><div>
<br><br><div class=3D"gmail_quote">On Mon, Jun 25, 2012 at 10:00 PM, Joe St=
ein <span dir=3D"ltr">&lt;<a href=3D"mailto:crypt...@gmail.com" target=3D"_=
blank">crypt...@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">quick question is there a way using orderBy =
so that A and a are treated the same, case insensitive?<div><br></div><div>




Thanks<br><br>/*<span><font color=3D"#888888"><br>Joe Stein<br><a href=3D"h=
ttp://www.linkedin.com/in/charmalloc" target=3D"_blank">http://www.linkedin=
.com/in/charmalloc</a><br>
Twitter: <a href=3D"http://www.twitter.com/allthingshadoop" target=3D"_blan=
k">@allthingshadoop</a><br>*/<br>
</font></span></div>
</blockquote></div><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div></div><=
/div>-- <br><div class=3D"im"><br>/*<br>Joe Stein<br><a href=3D"http://www.=
linkedin.com/in/charmalloc" target=3D"_blank">http://www.linkedin.com/in/ch=
armalloc</a><br>

Twitter: <a href=3D"http://www.twitter.com/allthingshadoop" target=3D"_blan=
k">@allthingshadoop</a><br>
*/<br>
</div></div>
</blockquote></div><br>

--047d7b2ede3587d3f504c3609ec3--