[SERVER-16487] Regex not working properly on indexed fields.. Created: 10/Dec/14 Updated: 10/Dec/14 Resolved: 10/Dec/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 2.6.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jagdish Idhate [X] | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | Linux | ||||||||
| Steps To Reproduce: |
|
||||||||
| Participants: | |||||||||
| Description |
|
Please follow steps to reproduce bug. |
| Comments |
| Comment by Jagdish Idhate [X] [ 10/Dec/14 ] |
|
Thanks Ramon, On Wed, Dec 10, 2014 at 7:40 PM, Ramon Fernandez (JIRA) <jira@mongodb.org> – Regards, Jagdish Idhate| Lead Software Engineer Ez-XBRL Solutions **| **Simplifying XBRL US Phone: 703-372-6482 703, Mayuresh Chambers, Sector 11, CBD Belapur, Navi Mumbai – 400614 | |
| Comment by Jagdish Idhate [X] [ 10/Dec/14 ] |
|
Thanks Ramon, On Wed, Dec 10, 2014 at 7:40 PM, Ramon Fernandez (JIRA) <jira@mongodb.org> – Regards, Jagdish Idhate| Lead Software Engineer Ez-XBRL Solutions **| **Simplifying XBRL US Phone: 703-372-6482 703, Mayuresh Chambers, Sector 11, CBD Belapur, Navi Mumbai – 400614 | |
| Comment by Ramon Fernandez Marina [ 10/Dec/14 ] |
|
Jagdish, the third document in your example contains a key that's too long to be indexed, so when your query uses an index it will not be returned. You're probably running with failIndexKeyTooLong set to false, otherwise the indexing operation complains about this issue. Please take a look at Regards, |