Similar Items: Phase transitions