[SERVER-23943] $substr to locate occurrence of a "pattern" within a "string" Created: 27/Apr/16 Updated: 28/Apr/16 Resolved: 28/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Andrew Shevchuk | Assignee: | Ramon Fernandez Marina |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
Would be nice to have a string occurrence operator(less expensive than regex), like this:
|
| Comments |
| Comment by Ramon Fernandez Marina [ 28/Apr/16 ] |
|
Thanks for the update ashevchuk. I'm going close this ticket then – feel free to vote for Regards, |
| Comment by Andrew Shevchuk [ 28/Apr/16 ] |
|
Yes, the functionality planned in the aggregation framework (https://jira.mongodb.org/browse/SERVER-8951) will meets my needs. |
| Comment by Ramon Fernandez Marina [ 27/Apr/16 ] |
|
ashevchuk, while it's already possible to use $regex and $text to find a substring within a string, we have Thanks, |