Index: wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php
===================================================================
--- wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php	(revision 49047)
+++ wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php	(working copy)
@@ -140,7 +140,7 @@
 			);
 		}
 
-		$ids = array_map( 'absint', $result[ WP_REST_Search_Handler::RESULT_IDS ] );
+		$ids = $result[ WP_REST_Search_Handler::RESULT_IDS ];
 
 		$results = array();
 
