Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use text prefix in regex to speed up query
for selector; {"selector":{"_id":{"$regex":"doc.+"}}} before; { "include_docs": true, "view_type": "map", "reduce": false, "partition": null, "start_key": [], "end_key": [ "<MAX>" ], "direction": "fwd", "stable": false, "update": true, "conflicts": "undefined" } after; { "include_docs": true, "view_type": "map", "reduce": false, "partition": null, "start_key": [ "doc" ], "end_key": [ "doc�", "<MAX>" ], "direction": "fwd", "stable": false, "update": true, "conflicts": "undefined" } closes: #4775
- Loading branch information