Overview
Introduction
Section titled “Introduction”Algolia is a cloud-hosted search engine designed to deliver fast and relevant search experiences. It provides real-time indexing, typo-tolerance, flexible ranking rules, and developer-friendly APIs.
In this project, Algolia powers two main features:
- Global Site Search — the main search bar and the 404 page search.
- Resource Center — filtering and searching across all resource types (blogs, events, webinars, etc.).
Key Features
Section titled “Key Features”| Feature | Description |
|---|---|
| Real-time search | Updates are reflected within milliseconds |
| Typo-tolerance | Automatically handles common misspellings and fuzzy matches |
| Filters & facets | Supports advanced filtering and faceted navigation |
| Customizable ranking | Configure ranking rules to tailor result ordering and relevance |
Search API Client
Section titled “Search API Client”The Algolia API client sends search requests to one or more indices. See the official guide for full reference.
const client = algoliasearch('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY');
const response = await client.search({ requests: [ { indexName: '<YOUR_INDEX_NAME>', query: '<YOUR_QUERY>', hitsPerPage: 50 } ],});
console.log(response);Indexes
Section titled “Indexes”Algolia indexes are comparable to database tables: each index stores a specific collection of records used to build and return search results.
We maintain six indexes. Their configuration values are stored as environment variables in the .env file:
| Environment Variable | Index | Purpose |
|---|---|---|
dev_GLOBAL_NET | Global | Main site search and 404 page search |
dev_Resources_NET | Resources | Resource Center content (blogs, events, guides, etc.) |
dev_AD_SECURITY_NET | AD Security | AD Security Risk page |
dev_PARTNERS_NET | Partners | Partner Applying and Locator pages |
dev_CYBERSECURITY_NET | Cybersecurity | All cybersecurity-related content |
dev_CustomerStories_NET | Customer Stories | Published customer success stories |
dev_GLOBAL_NET — Global Search
Section titled “dev_GLOBAL_NET — Global Search”Powers both the main site search and the 404 page search.
What the index includes:
- All pages that use a single, dedicated template
- All pages that redirect to external links
- Essential metadata to improve relevance in search results
- Structured information that optimizes internal search performance
dev_Resources_NET — Resource Center
Section titled “dev_Resources_NET — Resource Center”Contains data for the following content types:
| Content Type | Description |
|---|---|
| Blogs | Blog articles |
| Events | Upcoming and past events |
| Freeware | Free tools and downloads |
| Guides | How-to guides and tutorials |
| News | Press releases and news articles |
| Podcasts | Podcast episodes |
| Publications | Whitepapers and industry publications |
| Research | Research reports and studies |
dev_AD_SECURITY_NET — AD Security Risk
Section titled “dev_AD_SECURITY_NET — AD Security Risk”A dedicated index for the AD Security Risk page. These items do not have individual detail pages, but their structured data is fully indexed for search and filtering.
Filterable fields:
| Field | Description |
|---|---|
title | Name of the security risk |
risk | Risk classification or category |
level | Severity level (low, medium, high) |
tactic | Associated adversary tactic (e.g., MITRE ATT&CK) |
dev_PARTNERS_NET — Partners
Section titled “dev_PARTNERS_NET — Partners”Contains all partner entries displayed on the Applying and Locator pages.
Filterable fields:
| Field | Description |
|---|---|
title | Partner or organization name |
type | Category (reseller, integration partner, technology partner) |
country | Country where the partner operates |
state | State or region for more granular filtering |
dev_CYBERSECURITY_NET — Cybersecurity
Section titled “dev_CYBERSECURITY_NET — Cybersecurity”Aggregates all cybersecurity-related content across the site into a single searchable index.
Included content categories:
| Category | Description |
|---|---|
| Compliance | Standards, regulations, and compliance frameworks |
| Cybersecurity Frameworks | Models and methodologies (NIST, ISO, etc.) |
| Attack Catalogue | Attack types, vectors, and threat categories |
| Architectural Concepts | Architecture principles, models, and best practices |
| Security Concepts | Foundational and advanced security terminology |
dev_CustomerStories_NET — Customer Stories
Section titled “dev_CustomerStories_NET — Customer Stories”Stores all customer stories published on the site, allowing users to filter by meaningful business attributes.
Filterable fields:
| Field | Description |
|---|---|
title | Customer story name or featured client |
industry | Business sector (finance, healthcare, etc.) |
solution | Product solution featured in the story |
region | Geographic region of the customer or implementation |