Add helper function to allow elasticpress with other conditions

#review @mattonomics @tlovett1