-
Type:
Improvement
-
Resolution: Gone away
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
Query Optimization
When doing something like:
db.Something.find({},{$meta:'textScore',title:0})
you get back the error "Can't canonicalize query: BadValue Projection cannot have a mix of inclusion and exclusion." You should be able to use exclusions with $meta just like you can with $elemMatch for example.
- related to
-
SERVER-86431 No longer permit $meta in exclusion projections; parse $meta in find as inclusion by default
-
- Closed
-