Skip to content

Search with Algolia

Algolia is a search and discovery API for building powerful and fast search functionalities into websites and applications. It currently powers all the keyword-searchable pages on the site.

This section will outline how the new Cornell AAP site implements search with Algolia. For broader Algolia how-tos and tutorials, we recommend referring to their official documentation.

Overview

These are all the pages on the site that are powered by Algolia:

PagePHP Page TemplateSearchable ContentCorresponding Algolia Index
Where <env> is the current environment (development, staging, or production)
Global Searchsearch.phpNews
Pages
People
Events
Student Work
Faculty Work
Resources
Labs & Research Groups
<env>_global_search
News Indexpage-news-archive.phpNews <env>_news_search
People Directoryarchive-person.phpPeople<env>_person_search
Upcoming Events Indexpage-event-future-archive.phpEvents<env>_event_search
Past Events Indexpage-event-past-archive.phpEvents<env>_event_search_start_timestamp_desc
Student Work Indexpage-student_work_index.phpStudent Work<env>_student_work_search
Faculty Work Indexarchive-faculty_work.phpFaculty Work,
News with the “Faculty News” category
<env>_faculty_work_search

Further Resources