[JAVA-814] Unable to create a full text index on $** Created: 24/Apr/13 Updated: 21/Jun/13 Resolved: 05/Jun/13 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | 2.11.0 |
| Fix Version/s: | 2.11.2, 2.12.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Steve Briskin (Inactive) | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
There's an Exception where I try to create an FTS index on $**. FTS on regular fields (e.g. {a:"text"}) seems to work as expected. Below was done with java driver commit 8ca48fafa84fdfa41e6b7e2d8bbca5cf8151fca8 on master.
|
| Comments |
| Comment by auto [ 05/Jun/13 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |
| Comment by Steve Briskin (Inactive) [ 26/Apr/13 ] |
|
Tried the patch and it worked. Thanks. |
| Comment by auto [ 24/Apr/13 ] |
|
Author: {u'date': u'2013-04-24T17:24:59Z', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: |
| Comment by Jeffrey Yemin [ 24/Apr/13 ] |
|
It's happening because the driver is issuing a findOne on "system.indexes" with a key that starts with "$", and the server is rejecting the query. |