Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
maxnorm avatar

Magento Index Analyst

  • 123 installs
  • 26 repo stars
  • Updated January 24, 2026
  • maxnorm/magento2-agent-skills

magento-index-analyst is a Magento 2 agent skill that designs high-performance indexing strategies covering Elasticsearch clusters, Magento core indexers, and MySQL indexes for developers who need faster catalog search a

About

magento-index-analyst is one of 30 specialized skills in the maxnorm/magento2-agent-skills collection for Adobe Commerce and Magento 2. The skill guides indexer lifecycle management across six core Magento indexers—catalog product, catalog category, catalog search, stock, price, and customer grid—and covers Elasticsearch 7 setup in env.php, bin/magento indexer commands, custom AbstractIndexer implementations, composite database indexes, and reindex scheduling. Developers reach for magento-index-analyst when catalog search is slow, fulltext reindex jobs fail or overrun maintenance windows, or Elasticsearch mappings need tuning. The workflow runs assessment, strategy design, implementation, and load testing with monitoring for index status, reindex duration, and search query latency.

  • Covers 6 Magento core indexers: product, category, search, stock, price, customer grid
  • Documents bin/magento indexer:reindex, indexer:status, and indexer:reset CLI workflows
  • Includes Elasticsearch 7 env.php config and shard, replica, and mapping tuning guidance
  • Guides custom indexers extending AbstractIndexer with incremental reindex patterns
  • Part of a 30-skill Magento 2 agent skills repository for Adobe Commerce

Magento Index Analyst by the numbers

  • 123 all-time installs (skills.sh)
  • +4 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #2,801 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/maxnorm/magento2-agent-skills --skill magento-index-analyst

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs123
repo stars26
Last updatedJanuary 24, 2026
Repositorymaxnorm/magento2-agent-skills

How do you optimize Magento 2 Elasticsearch indexing performance?

Tune Magento 2 catalogsearch_fulltext indexing and Elasticsearch 7 cluster settings when product search or reindex jobs degrade storefront performance.

Who is it for?

Magento 2 backend developers diagnosing slow catalog search, stuck indexers, or Elasticsearch misconfiguration on Adobe Commerce stores.

Skip if: Developers on non-Magento PHP stacks or greenfield projects without an existing Magento catalog and indexer pipeline.

When should I use this skill?

A developer asks to optimize Magento indexers, configure Elasticsearch for Magento 2, speed up catalogsearch_fulltext reindex, or design custom Magento indexers.

What you get

Indexer assessment notes, Elasticsearch env.php configuration, optimized reindex schedules, database index recommendations, and performance baseline metrics.

  • Indexer optimization plan
  • Elasticsearch configuration
  • Reindex schedule recommendations

By the numbers

  • Part of a repository with 30 specialized Magento 2 agent skills
  • Documents 6 Magento core indexers: product, category, search, stock, price, customer grid

Files

SKILL.mdMarkdownGitHub ↗

Magento 2 Index Analyst

Expert specialist in designing and implementing high-performance indexing strategies that dramatically improve search performance, catalog browsing, and overall application responsiveness.

When to Use

  • Optimizing search performance
  • Configuring Elasticsearch
  • Designing database indexes
  • Improving reindexing strategies
  • Troubleshooting indexing issues
  • Planning indexing architecture

Magento Indexing Architecture

  • Indexer Types: Master all Magento indexers and their optimization strategies
  • Index Management: Expert in index lifecycle management and maintenance
  • Reindexing Strategies: Optimize reindexing processes and scheduling
  • Index Storage: Optimize index storage and data structures
  • Performance Monitoring: Monitor and analyze index performance metrics

Index Types

Magento Core Indexers

  • Catalog Product: Optimize product catalog indexing for fast browsing
  • Catalog Category: Optimize category hierarchy and navigation indexing
  • Catalog Search: Optimize search indexing for fast and relevant results
  • Stock Indexer: Optimize inventory indexing for real-time stock status
  • Price Indexer: Optimize pricing indexing for dynamic pricing
  • Customer Grid: Optimize customer data indexing for admin grids

Custom Indexers

  • Create custom indexers for specific business needs
  • Implement indexer classes extending AbstractIndexer
  • Design efficient index data structures
  • Optimize index update processes

Elasticsearch Configuration

Setup

// app/etc/env.php
'system' => [
    'default' => [
        'catalog' => [
            'search' => [
                'engine' => 'elasticsearch7',
                'elasticsearch7_server_hostname' => 'localhost',
                'elasticsearch7_server_port' => '9200',
                'elasticsearch7_index_prefix' => 'magento2',
            ]
        ]
    ]
]

Index Management

# Reindex all
bin/magento indexer:reindex

# Reindex specific indexer
bin/magento indexer:reindex catalogsearch_fulltext

# Index status
bin/magento indexer:status

# Reset indexer
bin/magento indexer:reset catalogsearch_fulltext

Database Indexing

Index Strategy

  • Primary Keys: Design efficient primary key structures
  • Foreign Keys: Implement proper foreign key relationships
  • Composite Indexes: Create composite indexes for common queries
  • Covering Indexes: Design indexes that cover query requirements
  • Index Maintenance: Regular index maintenance and optimization

Query Optimization

  • EXPLAIN Analysis: Analyze query execution plans
  • Slow Query Log: Monitor and optimize slow queries
  • Index Usage: Ensure indexes are being used effectively
  • Query Rewriting: Optimize queries for better index usage
  • N+1 Problem: Eliminate N+1 query problems

Index Optimization Process

1. Index Assessment & Analysis

  • Current State Analysis: Assess existing indexing configuration and performance
  • Performance Baseline: Establish baseline metrics for indexing performance
  • Bottleneck Identification: Identify indexing bottlenecks and performance issues
  • Usage Pattern Analysis: Analyze search and browsing usage patterns
  • Capacity Planning: Plan indexing infrastructure capacity and resources

2. Index Strategy Design

  • Indexing Architecture: Design optimal indexing architecture and topology
  • Reindexing Strategy: Design efficient reindexing processes and schedules
  • Storage Strategy: Optimize index storage and data organization
  • Performance Goals: Define indexing performance targets and SLAs
  • Scalability Planning: Plan for indexing scalability and growth

3. Implementation & Configuration

  • Elasticsearch Setup: Configure and optimize Elasticsearch clusters
  • Indexer Configuration: Optimize Magento indexer settings and behavior
  • Database Indexing: Implement optimal database index strategies
  • Monitoring Setup: Implement comprehensive indexing monitoring
  • Automation Setup: Automate indexing processes and maintenance

4. Testing & Optimization

  • Performance Testing: Validate indexing performance improvements
  • Load Testing: Test indexing behavior under high load conditions
  • Search Quality Testing: Validate search relevance and accuracy
  • Monitoring Validation: Verify monitoring and alerting effectiveness
  • Continuous Optimization: Establish ongoing indexing optimization

Best Practices

Reindexing Strategy

  • Scheduled Reindexing: Schedule reindexing during low-traffic periods
  • Incremental Reindexing: Use incremental reindexing when possible
  • Parallel Reindexing: Run independent indexers in parallel
  • Reindexing Monitoring: Monitor reindexing performance and failures
  • Rollback Planning: Plan for reindexing failures and rollbacks

Elasticsearch Optimization

  • Cluster Configuration: Optimize Elasticsearch cluster settings
  • Shard Strategy: Design optimal shard allocation
  • Replica Configuration: Configure appropriate replica counts
  • Query Optimization: Optimize search queries and aggregations
  • Index Mapping: Design efficient search index mappings

Database Index Optimization

  • Index Design: Design indexes based on query patterns
  • Index Maintenance: Regular index maintenance and optimization
  • Query Analysis: Analyze and optimize slow queries
  • Index Monitoring: Monitor index usage and effectiveness
  • Performance Tuning: Tune database for optimal index performance

Monitoring

  • Index Status: Monitor indexer status and health
  • Reindexing Performance: Track reindexing duration and resource usage
  • Search Performance: Monitor search query performance
  • Index Size: Monitor index storage size and growth
  • Error Monitoring: Monitor indexing errors and failures

References

Focus on creating high-performance indexing strategies that improve search and browsing performance.

Related skills

How it compares

Pick magento-index-analyst over general PHP performance skills when the bottleneck is Magento indexer jobs, catalogsearch_fulltext, or Elasticsearch—not generic application profiling.

FAQ

What Magento indexers does magento-index-analyst cover?

magento-index-analyst addresses six Magento core indexers: catalog product, catalog category, catalog search (catalogsearch_fulltext), stock, price, and customer grid. The skill also covers custom indexers extending AbstractIndexer for business-specific data.

How does magento-index-analyst configure Elasticsearch for Magento 2?

magento-index-analyst documents Elasticsearch 7 settings in app/etc/env.php, including hostname, port, and index prefix. The skill covers cluster shard strategy, replica counts, index mappings, and bin/magento indexer commands for fulltext reindex cycles.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.