Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
-
0.25
Description
The release notes for the $bucket stage specifies that the 'boundaries' argument should contain values which are all the same type. This is slightly inaccurate, since you are allowed to mix numeric types as described in this note about bson types and sort orders. For example, [1, NumberLong(2), NumberInt(3)] is a valid specification for 'boundaries'.
It's also probably worth mentioning that 'default' can be of a different type than the entries in 'boundaries'.
Attachments
Issue Links
- related to
-
DOCS-8290 Faceted Search - $bucket
-
- Closed
-