added function support for search reranking