Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module enables GraphQL integration for Drupal's Search API, allowing you to perform complex searches on your indexed content. It supports full-text search, advanced filtering, faceting, sorting, and pagination directly through GraphQL.

This module provides GraphQL integration for Drupal's Search API, allowing you to perform search queries through GraphQL with the same functionality as the core graphql_core_schema entity query but operating on Search API indexes instead of directly on entities.

Features

This module bridges Drupal's Search API with GraphQL, providing developers building headless or decoupled Drupal sites with powerful search capabilities. The basic functionality includes:

- GraphQL Search Queries: Execute search queries through GraphQL using the same syntax as core entity queries
- Full-text Search: Perform keyword searches across indexed content with relevance scoring
- Advanced Filtering: Apply complex filters with support for all Search API operators (equals, contains, between, etc.)
- Faceted Search: Generate facets for any indexed field to enable filtered browsing experiences
- Sorting & Pagination: Sort results by any field and implement pagination with limit/offset
- Multilingual Support: Automatic language filtering and content translation
- Grouping of results: Allows results to be grouped by given facets.

Post-Installation

After installation, the module automatically extends your GraphQL schema with a new `searchApiQuery` field. Here's how to get started:

1. Configure Search API Index: Ensure you have a Search API index configured with the fields you want to search and facet on
2. Enable GraphQL Schema: The module works with the `core_composable` GraphQL schema from graphql_core_schema
3. Test Queries: Use GraphQL Explorer or GraphiQL to test your search queries

No additional configuration pages are needed - the module works out of the box once your Search API indexes are properly configured. The GraphQL endpoint will immediately have access to the new search capabilities.

Activity

Total releases
5
First release
Aug 2025
Latest release
9 months ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Release date
1.2.2 Stable Sep 29, 2025
1.2.1 Stable Sep 25, 2025
1.2.0 Stable Aug 28, 2025
1.0.1 Stable Aug 21, 2025
1.0.0 Stable Aug 21, 2025