Using RDS to store search result