A search engine uses machines to index webpages; a gateway is compiled by experts or librarians.