Approximate top-k query algorithms