algolia-core-workflow-b

Featured

Implement Algolia indexing pipeline: data sync, partial updates, synonyms, and rules. The secondary money-path workflow: keep your index in sync with source data. Trigger: "algolia indexing", "sync data to algolia", "algolia synonyms", "algolia rules", "algolia partial update", "algolia reindex".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Algolia Core Workflow B — Indexing & Data Sync ## Overview Keep your Algolia index synchronized with your source database. Covers full reindex, incremental updates, partial updates, synonyms, and query rules. ## Prerequisites - Completed `algolia-install-auth` setup - Familiarity with `algolia-core-workflow-a` (search) - Source database or API with change tracking (timestamps, events) ## Instructions ### Step 1: Full Reindex with replaceAllObjects ```typescript import { algoliasearch } from 'algoliasearch'; const client = algoliasearch(process.env.ALGOLIA_APP_ID!, process.env.ALGOLIA_ADMIN_KEY!); // replaceAllObjects atomically swaps index content // Internally: creates temp index → indexes all records → moves temp to target // Search continues on old data until swap is complete — zero downtime async function fullReindex(records: Record<string, any>[]) { const { taskID } = await client.replaceAllObjects({ indexName: 'products', objects: records, batchSize: 1000, // Records per batch (default 1000) }); await client.waitForTask({ indexName: 'products', taskID }); console.log(`Full reindex complete: ${records.length} records`); } ``` ### Step 2: Incremental Updates with partialUpdateObject ```typescript // Only update changed fields — much faster than full saveObjects async function updateProductPrice(objectID: string, newPrice: number) { await client.partialUpdateObject({ indexName: 'products', objectID, attributesToUpdate: { ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

algolia-core-workflow-a

Implement Algolia search with filters, facets, highlighting, and pagination. The primary money-path workflow: search records, apply filters, display results. Trigger: "algolia search", "search with algolia", "algolia filters", "algolia facets", "algolia search implementation".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-data-handling

Implement Algolia data handling: record transforms, PII filtering before indexing, data retention, GDPR/CCPA compliance with Algolia's deleteByQuery and Insights deletion. Trigger: "algolia data", "algolia PII", "algolia GDPR", "algolia data retention", "algolia privacy", "algolia CCPA", "algolia data sync".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-ci-integration

Configure Algolia CI/CD: GitHub Actions for index validation, automated reindexing on deploy, and integration testing against real Algolia indices. Trigger: "algolia CI", "algolia GitHub Actions", "algolia automated tests", "CI algolia", "algolia deploy pipeline".

2,266 Updated today
jeremylongshore
AI & Automation Featured

algolia-hello-world

Create a minimal working Algolia example — index records and search them. Use when starting a new Algolia integration, testing your setup, or learning the saveObjects/searchSingleIndex pattern. Trigger: "algolia hello world", "algolia example", "algolia quick start", "first algolia search".

2,266 Updated today
jeremylongshore
AI & Automation Listed

algolia-search

Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning Use when: adding search to, algolia, instantsearch, search api, search functionality.

5 Updated yesterday
rootcastleco