Similar Items: Efficient online tree, rule-based and distance-based algorithms