Skip to content

Commit 7a96c12

Browse files
authored
DOCSP-35031 $toHashedIndexKey results not collated (#7064) (#7407)
* DOCSP-35031 results not collated * adjusts text * adjusts text * adjusts text
1 parent ecb1654 commit 7a96c12

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

source/reference/operator/aggregation/toHashedIndexKey.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ Definition
2020
A hash function maps a key or string to a fixed-size numeric
2121
value.
2222

23+
.. note::
24+
25+
Unlike hashed indexes, the ``$toHashedIndexKey``
26+
aggregation operator does **not** account for collation.
27+
This means the operator can produce a hash that does not
28+
match that of a hashed index based on the same data.
29+
2330
Syntax
2431
------
2532

0 commit comments

Comments
 (0)