Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for geo/2d compound indexes [moved] #290

Closed
jyemin opened this issue Apr 25, 2013 · 3 comments
Closed

Add support for geo/2d compound indexes [moved] #290

jyemin opened this issue Apr 25, 2013 · 3 comments
Milestone

Comments

@jyemin
Copy link
Contributor

jyemin commented Apr 25, 2013

This is Issue 290 moved from a Google Code project.
Added by 2011-06-24T01:33:12.000Z by Drew.Kut...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Low

Original description

The @Indexes annotation currently doesn't support 2d indexes.

See: http://groups.google.com/group/morphia/browse_thread/thread/618ba13fb2a8a588
@evanchooly
Copy link
Member

#570 resolves this

@evanchooly evanchooly added this to the pre-1.0 milestone Jun 5, 2014
@evanchooly evanchooly modified the milestones: 0.109, pre-1.0 Jun 5, 2014
@trishagee
Copy link
Contributor

This isn't the same as #570 - this issue is about supporting 2d and 2dsphere indexes at the class-level @Index annotation. At the moment you can define something like @Indexes(@Index("active,-lastModified")), but this doesn't work for geo indexes. The question is how do we mark a field (in the class-level annotation) as geo-indexed?

@trishagee trishagee modified the milestones: Geo, 0.109 Dec 12, 2014
@trishagee
Copy link
Contributor

If you go ahead with the proposed changes for Index annotations, that will provide a solution to this issue. I've implemented a test to see if that would work, and it passes: trishagee@a5248aa

@evanchooly evanchooly modified the milestones: 0.111, Geo Mar 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants