Results 1 to 2 of 2

Thread: NearQuery and Skip

  1. #1
    Join Date
    Apr 2012
    Posts
    3

    Default NearQuery and Skip

    I am trying to do a find based on a geoNear search (given {lat,lon} and radius), which I use
    NearQuery for the query and call mongTemplate's geoNear () method.
    That all works fine.

    Now, the search needs to be paged. My understanding is that NearQuery does not support "skip" as the regular
    Query class.
    (It supports "max num" , but not "page").

    Please advise of a work-around to do a paginated search based on geo location near.

    Thank you so much.

  2. #2
    Join Date
    Feb 2013
    Posts
    2

    Default

    Hi,

    Did you finally find a workaround ?

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •