--
You received this message because you are subscribed to the Google Groups "rogue-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rogue-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What mongo versions are you running? I see various reports on the web about $near not playing well with $skip.
25 is a very small page size, you probably won't hurt the server by asking for more than that. Maybe you could ask for all results and paginate in the client
On Fri, Jul 25, 2014 at 1:11 PM, Andrea Zaza <zanda...@gmail.com> wrote:
--Hi all,I have a problem with pagination, rogue 2.2.0.The following query is working fine locally: I query for different pages and I can get the correct result.event.where(_.date_time after now_).and(_.geolatlng near(39, 9, Degrees((50 / 6378.137).toDegrees))).paginate(25).setPage(p).fetchThe same query in production (sever) is getting 0 results for p parameter grater than 1.The only difference between development and production is the mongodb version. Any help?Thanks,Andrea
You received this message because you are subscribed to the Google Groups "rogue-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rogue-users...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "rogue-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rogue-users/IFOW2EHfvBg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rogue-users...@googlegroups.com.