Similar Items: Preservation Theorems in Semiring Semantics