_MAX_RESULTS shouldn't be hardcoded.