Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.3.13 Minor update available for module search_api_solr (4.3.13). Search API Solr 4.3.12 Minor update available for module search_api_solr (4.3.12). smart 404 1.1.2 Minor update available for module smart_404 (1.1.2). IntelligenceBank DAM Connector 4.1.4 Minor update available for module intelligencebank (4.1.4). IntelligenceBank DAM Connector 5.2.3 Minor update available for module intelligencebank (5.2.3). Soccerbet 1.1.14 Minor update available for module soccerbet (1.1.14). Mautic Audiences 1.0.0 Initial release available for module mautic_audiences (1.0.0)! Commerce Order Amend 1.0.0 Initial release available for module commerce_order_amend (1.0.0)! Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Content Translation Redirect Module content_translation_redirect crossed 1,000 active installs.

Coffee Search

7 sites Security covered
View on drupal.org

Coffee Search enhances the Coffee launcher by adding a live search feature. You can type a prefix followed by your search query to get instant suggestions from various providers without leaving the launcher. It includes a built-in node search that filters recent published nodes by keywords and respects access permissions.

Coffee Search extends the Coffee launcher with a prefix-command live search. Type a short prefix followed by a query (e.g. n keyword) to get live suggestions from a pluggable search provider, without leaving the launcher.

Features

  • Live prefix search inside Coffee's Alt+D launcher. Each keystroke filters in real time (debounced 200 ms). The number of rows follows Coffee's Max results setting (default 7).
  • Built-in node-title provider on the n prefix. Type n (with a trailing space) to see the most recently changed published nodes; add keywords to filter. Honours node access.
  • Pluggable provider API: implement SearchProviderInterface and tag the service with coffee_search.provider to claim another prefix.

How it works

The user types a prefix (e.g. n) followed by a space, which puts the launcher in prefix mode. The JS dispatches subsequent queries to /coffee-search?prefix=n&q=<query>, which routes to a provider via a tagged service iterator. The provider returns JSON suggestions that render inside Coffee's existing autocomplete list.

Performance

The bundled node-title provider uses a SQL LIKE '%keyword%' query against the node title column. That is fine for the small-to-mid admin-convenience use case; on sites with tens of thousands of published nodes, heavy hook_node_grants implementations, or a shared DB server, the per-keystroke cost will become noticeable on top of the 200 ms debounce. See the README for details.

Related projects

  • Coffee — required dependency.

Activity

Total releases
1
First release
Apr 2026
Latest release
2 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Apr 19, 2026