Open
Description
It seems that the decision for whether to use search collations is when the Collator is created in order to perform equality operations on strings. This is the type of thing that the developer could specify in code:
let ordering_collator = Collator::try_new_unstable(...);
let equality_collator = Collator::try_new_search_unstable(...);
Under the hood, we could keep all the same code paths, but move the search collations into a different data key so that static data slicing can pick it up. This would help simplify datagen because we wouldn't need the search*
stuff; we just look for the collations/search@1 data key.
CC @hsivonen