drupal-search-api

Configures custom PHP boost processors for Drupal search indexes.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/mgifford/drupal-core --skill drupal-search-api-mgifford
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drupal-search-api
Source: https://github.com/mgifford/drupal-core/tree/main/.agents/skills/drupal-search-api
Command: npx skills add https://github.com/mgifford/drupal-core --skill drupal-search-api-mgifford

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enhances Drupal's search capabilities by providing configuration and development patterns for boost strategies, index setup, and custom processors to improve search relevance and user experience.

Core Features & Use Cases

  • Index Configuration: Guides on setting correct data types for fields, such as boolean versus integer, to optimize search performance.
  • Custom Boost Processors: Implements PHP classes to apply complex, conditional boosts based on entity fields like 'featured' flags or engagement metrics like bookmarks and favorites.
  • Reindexing and Testing: Offers instructions for reindexing, verifying index health, and experimenting with different boost factors to refine search result rankings.

Quick Start

Use this Skill to configure custom boost processors that prioritize featured content and engagement metrics in Drupal search indexes.

Frequently Asked Questions about drupal-search-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I boost featured content in Drupal search results?

To boost featured content in Drupal search, you implement custom PHP processors that apply conditional boosts based on entity fields like 'featured' flags, altering result rankings.

How do I configure Search API field data types for better indexing?

You configure Search API field data types by setting correct types, such as boolean versus integer, during index setup to optimize search performance and ensure accurate query matching.

How does a custom boost processor improve Drupal search relevance?

Custom boost processors improve Drupal search relevance by applying complex, conditional boosts based on engagement metrics like bookmarks and favorites, dynamically prioritizing high-value content.

What is the best way to reindex Drupal Search API after changing boost factors?

The best way to reindex Drupal Search API after changing boost factors is to follow structured reindexing workflows that verify index health and allow experimentation to refine result rankings.

Do I need PHP development skills to implement custom Drupal search boosts?

Yes, you need PHP development skills to implement custom Drupal search boosts, as the configuration requires developing custom PHP processor classes to apply complex, conditional ranking strategies effectively.