[DOCS-3412] Explain how to drop a Full Text index Created: 16/May/14 Updated: 22/May/14 Resolved: 22/May/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | mongodb-2.6, mongodb-3.0 |
| Fix Version/s: | v1.3.5 |
| Type: | Improvement | Priority: | Critical - P2 |
| Reporter: | Tugdual Grall | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | sprint-slipstream | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 9 years, 38 weeks, 6 days ago |
| Description |
|
TL;TR: ) Details The db.collection.dropIndex(<idx>) use the key of the index as parameter. For most of the index the "key" is the value you pass when you create the index. This is not the case for a Full Text index. Let's take an example: — standard index ----- ); user can simply do: ); – full text search index – ); if the user execute : ); " This is because the key is not { description : "text"} as you can look using the command: The key of the index is: { "_fts" : "text", "_ftsx" : 1 }The proper command is: ) |
| Comments |
| Comment by Githook User [ 22/May/14 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |