def get_highest_score_index(results_list):
    """
    Given a list of results, returns the index of the hit with the highest score.
    Simple find the maximum algorithm stuff going on here.
    """
    highest_score = 0.0
    highest_index = 0
    index = 0
    
    for hit in results_list:
        if hit.score > highest_score:
            highest_score = hit.score
            highest_index = index
        
        index = index + 1
    
    return highest_index