<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>rogue-users Google Group</title>
  <link>http://groups.google.com/group/rogue-users</link>
  <description>Help, feature requests and general discussion for Rogue, a type-safe Scala DSL for constructing and executing queries against MongoDB in the Lift web framework. https://github.com/foursquare/rogue</description>
  <language>en</language>
  <item>
  <title>Re: Alias</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/7c5a484675aa0d1c/580fbd93653d4d4c?show_docid=580fbd93653d4d4c</link>
  <description>
  No, the functions you provide to selectCase must be fields on the &lt;br&gt; UserRecord class. You could do this instead: &lt;br&gt; &lt;p&gt;case class User (firstName: String, lastName: String) = { &lt;br&gt; val displayName = firstName + &amp;quot; &amp;quot; + lastName &lt;br&gt; UserRecord where (_.id eqs 1).selectCase(_.firstName, _.lastName, User) &lt;br&gt; &lt;p&gt;On Sat, May 18, 2013 at 5:15 PM, Truong Tho Nguyen &amp;lt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/7c5a484675aa0d1c/580fbd93653d4d4c?show_docid=580fbd93653d4d4c</guid>
  <author>
  jlis...@foursquare.com
  (Jason Liszka)
  </author>
  <pubDate>Sun, 19 May 2013 22:02:34 UT
</pubDate>
  </item>
  <item>
  <title>Alias</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/7c5a484675aa0d1c/3354e366aaae1e45?show_docid=3354e366aaae1e45</link>
  <description>
  Can I do something similar to this: &lt;br&gt; case class User (displayName: String) &lt;br&gt; UserRecord where (_.id eqs 1).selectCase(_.firstName + &amp;quot; &amp;quot; + _.lastName, &lt;br&gt; User) &lt;br&gt; Thanks
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/7c5a484675aa0d1c/3354e366aaae1e45?show_docid=3354e366aaae1e45</guid>
  <author>
  nguyentruongtho...@gmail.com
  (Truong Tho Nguyen)
  </author>
  <pubDate>Sat, 18 May 2013 21:15:49 UT
</pubDate>
  </item>
  <item>
  <title>Re: Rogue 2 - 2d index</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/244787ec1213f170/aabb131a718b5b60?show_docid=aabb131a718b5b60</link>
  <description>
  Thanks for clarification, Jason! Much appreciated.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/244787ec1213f170/aabb131a718b5b60?show_docid=aabb131a718b5b60</guid>
  <author>
  a.mikhai...@gmail.com
  (alexmnyc)
  </author>
  <pubDate>Tue, 23 Apr 2013 18:34:24 UT
</pubDate>
  </item>
  <item>
  <title>Re: Rogue 2 - 2d index</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/244787ec1213f170/f2d05d3cc4ccc0de?show_docid=f2d05d3cc4ccc0de</link>
  <description>
  Correct, it doesn&#39;t create an index in mongo. You have to do that manually &lt;br&gt; in the mongo shell, or through the driver as you have done. &lt;br&gt; &lt;p&gt;That code just allows rogue to know what the indexes are so that it can &lt;br&gt; warn (at runtime) if a query does not match an index.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/244787ec1213f170/f2d05d3cc4ccc0de?show_docid=f2d05d3cc4ccc0de</guid>
  <author>
  jlis...@foursquare.com
  (Jason Liszka)
  </author>
  <pubDate>Tue, 23 Apr 2013 17:28:23 UT
</pubDate>
  </item>
  <item>
  <title>Re: Rogue 2 - 2d index</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/244787ec1213f170/8588612281b745ee?show_docid=8588612281b745ee</link>
  <description>
  Forgot to include the link to the Venue model: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/foursquare/rogue/blob/v2.0.0-beta22/rogue-lift/src/test/scala/com/foursquare/rogue/TestModels.scala&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/244787ec1213f170/8588612281b745ee?show_docid=8588612281b745ee</guid>
  <author>
  a.mikhai...@gmail.com
  (alexmnyc)
  </author>
  <pubDate>Tue, 23 Apr 2013 17:24:47 UT
</pubDate>
  </item>
  <item>
  <title>Rogue 2 - 2d index</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/244787ec1213f170/a93e5eb4273a1108?show_docid=a93e5eb4273a1108</link>
  <description>
  It&#39;s hard to understand from the documentation whether or not these two &lt;br&gt; lines in Venue model actually are supposed to create an index. Running code &lt;br&gt; as is, I don&#39;t see index ever being created in Mongo. &lt;br&gt; val geoIdx = Venue.index(_.geolatlng, TwoD) &lt;br&gt; override val mongoIndexList = List(geoIdx) &lt;br&gt; If I call:
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/244787ec1213f170/a93e5eb4273a1108?show_docid=a93e5eb4273a1108</guid>
  <author>
  a.mikhai...@gmail.com
  (alexmnyc)
  </author>
  <pubDate>Tue, 23 Apr 2013 17:23:30 UT
</pubDate>
  </item>
  <item>
  <title>Re: Request release 2.0-22beta for 2.10 to github</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/908076401b245af9/8327e9379c7d5dd1?show_docid=8327e9379c7d5dd1</link>
  <description>
  Hi Reuben, &lt;br&gt; &lt;p&gt;Here&#39;s the beta22 tag: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/foursquare/rogue/tree/v2.0.0-beta22&quot;&gt;[link]&lt;/a&gt;. It&#39;s compatible &lt;br&gt; with scala 2.10. &lt;br&gt; &lt;p&gt;Regards, &lt;br&gt; Jason
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/908076401b245af9/8327e9379c7d5dd1?show_docid=8327e9379c7d5dd1</guid>
  <author>
  jlis...@foursquare.com
  (Jason Liszka)
  </author>
  <pubDate>Mon, 22 Apr 2013 22:05:23 UT
</pubDate>
  </item>
  <item>
  <title>Request release 2.0-22beta for 2.10 to github</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/908076401b245af9/e99aca0f1c301cbf?show_docid=e99aca0f1c301cbf</link>
  <description>
  Hey, &lt;br&gt; I was looking for the source code for the 2.10 version of lift (which is &lt;br&gt; great) and it seems like it isn&#39;t on github. I am using a snapshot version &lt;br&gt; of lift so was going to just make a few changes and then publish locally. &lt;br&gt; Would it please be possible to push the code for the beta22 (for 2.10) to
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/908076401b245af9/e99aca0f1c301cbf?show_docid=e99aca0f1c301cbf</guid>
  <author>
  hjas...@gmail.com
  (Reuben Doetsch)
  </author>
  <pubDate>Fri, 12 Apr 2013 15:45:43 UT
</pubDate>
  </item>
  <item>
  <title>Re: Capped Arrays (v2.4)?</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/53f7de0f14b8abcf/678906e2b8c69532?show_docid=678906e2b8c69532</link>
  <description>
  Seems pretty straightforward to add, will put it on the list.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/53f7de0f14b8abcf/678906e2b8c69532?show_docid=678906e2b8c69532</guid>
  <author>
  jlis...@foursquare.com
  (Jason Liszka)
  </author>
  <pubDate>Tue, 19 Mar 2013 21:21:11 UT
</pubDate>
  </item>
  <item>
  <title>Capped Arrays (v2.4)?</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/53f7de0f14b8abcf/fc342c73ea58269e?show_docid=fc342c73ea58269e</link>
  <description>
  Hi guys, &lt;br&gt; I was wondering if you are going to add support for capped arrays&amp;lt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://docs.mongodb.org/manual/release-notes/2.4/#limit-number-of-elements-in-an-array&quot;&gt;[link]&lt;/a&gt;&amp;gt;(new in Mongo 2.4)? &lt;br&gt; Regards &lt;br&gt; Stephan
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/53f7de0f14b8abcf/fc342c73ea58269e?show_docid=fc342c73ea58269e</guid>
  <author>
  stephan.beh...@gmail.com
  (stephanos)
  </author>
  <pubDate>Tue, 19 Mar 2013 14:23:38 UT
</pubDate>
  </item>
  <item>
  <title>Re: Aggregation &amp; Rogue</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/74f723cc9a9f44f5/69c053da8a9eaf91?show_docid=69c053da8a9eaf91</link>
  <description>
  Hi Jason, &lt;br&gt; &lt;p&gt;Thank you for your answer, &lt;br&gt; I did it using the basic MongoDB library : &lt;br&gt; &lt;p&gt;var items = MongoDB.use(DefaultMongoIdenti fier) { db =&amp;gt; &lt;br&gt; var collection = db.getCollection(&amp;quot;products&amp;quot;) &lt;br&gt; var cmd = new GroupCommand(collection, &lt;br&gt; new BasicDBObject(&amp;quot;brand&amp;quot;, 1), &lt;br&gt; null, &lt;br&gt; new BasicDBObject(&amp;quot;count&amp;quot;, 0),
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/74f723cc9a9f44f5/69c053da8a9eaf91?show_docid=69c053da8a9eaf91</guid>
  <author>
  rdelsa...@gmail.com
  (Roch Delsalle)
  </author>
  <pubDate>Tue, 19 Mar 2013 10:09:31 UT
</pubDate>
  </item>
  <item>
  <title>Re: Subfield ordering problem in 2.0.0 RC1</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/0ed65eaea328c32a/2e8c7b95609311d9?show_docid=2e8c7b95609311d9</link>
  <description>
  to temporary fix your code you can do something like : &lt;br&gt; orderDesc(m =&amp;gt; rdateFieldToDateQueryField( m.message.subfield(_.createdAt ))) &lt;br&gt; &lt;p&gt;Le lundi 25 février 2013 09:53:32 UTC+1, Ján Raška a écrit :
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/0ed65eaea328c32a/2e8c7b95609311d9?show_docid=2e8c7b95609311d9</guid>
  <author>
  herali...@gmail.com
  (Alexandre Richonnier)
  </author>
  <pubDate>Sun, 17 Mar 2013 17:45:38 UT
</pubDate>
  </item>
  <item>
  <title>Re: Aggregation &amp; Rogue</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/74f723cc9a9f44f5/0d2522843738bf2f?show_docid=0d2522843738bf2f</link>
  <description>
  No, sorry, full aggregations are not supported yet. Only count and distinct &lt;br&gt; so far. Pull requests welcome! &lt;br&gt; &lt;p&gt;But if you give some more details about what you&#39;re trying to do, perhaps I &lt;br&gt; can suggest a way to do it without aggregations.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/74f723cc9a9f44f5/0d2522843738bf2f?show_docid=0d2522843738bf2f</guid>
  <author>
  jlis...@foursquare.com
  (Jason Liszka)
  </author>
  <pubDate>Fri, 15 Mar 2013 16:15:45 UT
</pubDate>
  </item>
  <item>
  <title>Aggregation &amp; Rogue</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/74f723cc9a9f44f5/14f00eabfef5f971?show_docid=14f00eabfef5f971</link>
  <description>
  Hi, &lt;br&gt; &lt;p&gt;I would like to know if its possible to use MongoDB aggregations via Rogue ? &lt;br&gt; I&#39;m currently setting up a small list with filters and I&#39;m trying to do it &lt;br&gt; without using ElasticSearch / Facets since its a small project. &lt;br&gt; &lt;p&gt;Best, &lt;br&gt; &lt;p&gt;Roch
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/74f723cc9a9f44f5/14f00eabfef5f971?show_docid=14f00eabfef5f971</guid>
  <author>
  rdelsa...@gmail.com
  (Roch Delsalle)
  </author>
  <pubDate>Thu, 14 Mar 2013 12:51:44 UT
</pubDate>
  </item>
  <item>
  <title>Re: Possible to search by prefix, but reversed…?</title>
  <link>http://groups.google.com/group/rogue-users/browse_thread/thread/a607801b753bdb55/345ec21a9b52e238?show_docid=345ec21a9b52e238</link>
  <description>
  Yeah, I figured. I found an in-jvm solution that&#39;s good enough. Thanks, &lt;br&gt; Viktor
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/rogue-users/browse_thread/thread/a607801b753bdb55/345ec21a9b52e238?show_docid=345ec21a9b52e238</guid>
  <author>
  hedef...@gmail.com
  (Viktor Hedefalk)
  </author>
  <pubDate>Fri, 08 Mar 2013 14:05:21 UT
</pubDate>
  </item>
  </channel>
</rss>
