def _get_n_results(self, query, n):
    'Get a specified number of results for a query'
    raise NotImplementedError('This method must be implemented by subclasses')
Get a specified number of results for a query
def _get_n_results(self, query, n):
    
    raise NotImplementedError('This method must be implemented by subclasses')