def get_separation_score(results):
    """
    For a Solr response, compute the separation score which is derived from the
    ratio between the two first Solr scores.
    """
    score1 = results[0]['score']
    score2 = results[1]['score']

    return (1 - score2 / score1)