The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: Raxit Sheth <raxitsheth2...@gmail.com>
Date: Wed, 7 Nov 2012 23:09:41 +0530
Local: Wed, Nov 7 2012 12:39 pm
Subject: [Geo] $elemMatch not working with $near <Jira SERVER-7581 created>
As per mongo doc on geo, [
db.places.insert({ addresses : [ { name : "Home", loc : [55.5, 42.3] }, {
how to find, all records near to address.loc [ 55.5,42.3] and those are
> db.places.find({"address" : {$elemMatch:{"loc":{$near:[55.5,42.3]},name:"Home"}}})
error: {
"$err" : "can't find special index: 2d for: { address: { $elemMatch: { loc: { $near: [55.5,42.3] }, name: \"Home\" } } }", "code" : 13038 }
created jira issue here : https://jira.mongodb.org/browse/SERVER-7581
I think Geo is very very restrictive in Mongo, and great if someone
Raxit
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.
| ||||||||||||||