# File lib/amazon/search.rb, line 851
      def similarity_search(asin, weight=HEAVY, page=1, &block)

        url = AWS_PREFIX + "?t=%s&SimilaritySearch=%s&f=xml" +
              "&type=%s&dev-t=%s&page=%s"
        @type = WEIGHT[weight]

        asin.gsub!(/ /, ',') if asin.is_a? String
        asin = asin.join(',') if asin.is_a? Array

        if asin.count(',') >= 5
          raise TermError, "too many ASINs (max. 5 for this search)"
        end

        search(url % [@id, asin, @type, @token, page], &block)
      end