google-code-export / morphia

Automatically exported from code.google.com/p/morphia
1 stars 0 forks source link

Remove IndexDirection.BOTH from docs #266

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
According to documentation @Index should be one of three values: ASC, DESC and 
BOTH. In current state there is ASC, DESC and GEO2D. The addition of geospatial 
index is welcomed, but the BOTH index direction would useful, even if it 
requires setting up two different indexes in MongoDB.

Original issue reported on code.google.com by lukasz.r...@radical.com.pl on 10 Apr 2011 at 11:12

GoogleCodeExporter commented 9 years ago
The server was updated so it could use an index in either direction (so it 
supports reverse) and there was no need to support creating a duplicate (BOTH) 
index. It should be removed from the docs.

Original comment by scotthernandez on 13 Apr 2011 at 2:21