You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongo...@googlegroups.com
Hey all,
I'm in the midst of creating a node app with mongoosejs and one of my requirements is to utilize mongo's geospacial indexing (http://www.mongodb.org/display/DOCS/Geospatial+Indexing). I've been perusing the docs on the mongoosejs site (namely http://mongoosejs.com/docs/indexes.html), and haven't found any reference to setting an index type other than `unique`. Is there a way to declare a geospacial index when defining a model schema?
Thanks in advance!
d
Daniel Grippi
unread,
Aug 13, 2011, 11:13:12 PM8/13/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongo...@googlegroups.com
nevermind, it seems that passing in "2d" instead of "unique" does the trick. i just had to look at the source again. *facepalm*