[CSHARP-660] Support Index Types - Hashed, Text, and 2DSphere Created: 16/Jan/13  Updated: 17/Feb/13  Resolved: 17/Feb/13

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.8

Type: New Feature Priority: Major - P3
Reporter: Craig Wilson Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to CSHARP-685 Add object model for GeoJson values Closed
related to CSHARP-683 Add new features to Query builder for... Closed

 Description   

Three new index types have been defined in server 2.4: 2dsphere, hashed, and text. For any driver that validates index types, these need to be added to the list.



 Comments   
Comment by auto [ 17/Feb/13 ]

Author:

{u'date': u'2013-02-17T15:59:52Z', u'name': u'rstam', u'email': u'robert@10gen.com'}

Message: CSHARP-660: Fix unit test to enable text search before creating text index.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/ab79856f67f1ce64778a083c4d45972c03cf2494

Comment by Robert Stam [ 17/Feb/13 ]

See CSHARP-683 for new Query builder features related to 2dsphere queries and CSHARP-685 for GeoJson support.

Comment by auto [ 17/Feb/13 ]

Author:

{u'date': u'2013-02-16T23:35:54Z', u'name': u'rstam', u'email': u'robert@10gen.com'}

Message: CSHARP-660: Add support for GeoSpatialSpherical and Hashed indexes.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/1e7f8eec129f46795c3fdfd0dcb9ce29da9ab4f1

Comment by Robert Stam [ 16/Jan/13 ]

There should also be a documented back door way to create indexes of new types that might come along in the future so users can start using a new index type even before upgrading to a new driver that has added support for the new index type.

We should not add text to the official list of index types yet because it is an experimental feature. Users wishing to create a text index should use the back door for new index types.

Generated at Wed Feb 07 21:37:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.