Added mapping for database search type