added roxygen doc for search