configure the typeahead with bloodhound and elasticsearch