From: Ronnie <ankur...@tcs.com>
Date: Tue, 1 May 2012 22:55:49 -0700 (PDT)
Local: Wed, May 2 2012 1:55 am
Subject: Re: Mongo db spatial query support with java
I am using MongoDB Version 2.04 , from the shell the following query
is executed. But when trying from Java , it fails and throws exception.
Exception in thread "main" com.mongodb.MongoException: can't find
On May 2, 10:41 am, "H.J" <shiyi...@gmail.com> wrote:
> Would you please provide some documents sample? And your java driver
> version and mongodb version? > It works here.
> http://pastebin.com/diKny2HF
> 2012/5/2Ronnie<ankur...@tcs.com>:
> > Thanks , but I am getting this exception :
> > Exception in thread "main" com.mongodb.MongoException: can't find
> > If the above is not working then how should I do the indexing?
> > Thanks in advance.
> > On May 1, 7:56 pm, "H.J" <shiyi...@gmail.com> wrote:
> >>Ronnie, may you try this one?
> >> DBCursor cur = coll.find(new
> >> Sorry for late response, these days are holidays for Labor Day in China.
> >> 2012/4/30 Marc <m...@10gen.com>:
> >> > A similar question was asked last week regarding how to build a
> >> > There is an example there of how to build the query document in the
> >> > Hopefully the example will allow you to build your desired $within
> >> > --
> >> --
> > --
> --
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||