<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_search_page( self, query, page, per_page=1000, mentions=3, data=False, ):
 """ Retrieve one page of search results from the DocumentCloud API. """

        if mentions > 10:
            raise ValueError("You cannot search for more than 10 mentions")
        params = {
            'q': query,
            'page': page,
            'per_page': per_page,
            'mentions': mentions,
        }
        if data:
            params['data'] = 'true'
        response = self.fetch('search.json', params)
        return response.get("documents")