let's change this if to
if settings.ELASTIC_RESULTS
clearer that way