Learning to rank using user clicks and visual features for image retrieval