required cors
aded cors manually
ran bundle
uri encoded search string sent to elasticsearch