A novel and adaptive method for image search reranking