Duplicate keys exist though using dictionary SB-Tree index

Hi all,

As the Orientdb Manual says, dictionary indexes “are similar to those that use UNIQUE, but in the case of duplicate keys, they replaces the existing record with the new record”.
However, I tried to create dictionary SB-Tree indexes and insert records with duplicate keys, and it didn’t replace the existing record but created two records with the same key, just as the following picture shows.

So what am I missing here?

1 Like