Recommended releases

Download Released

Provides a Combined search tab at /search/combined that displays
interleaved results from all active search index types, ranked by relevance
score. It does not perform its own indexing - it reads from the existing
{search_index} entries written by other active search modules.

Requirements

  • Core Search module
  • At least one other search module that indexes into {search_index}, e.g.
    core node search, Comment Search.

Installation

Install this module using the official Backdrop CMS instructions at
https://backdropcms.org/guide/modules.

After enabling, go to Admin > Configuration > Search > Search settings
(admin/config/search/settings) and select which types contribute to the
Combined tab under the Combined search types fieldset.

How it works

On each search request, the module queries {search_index} for each
enabled type using Backdrop's SearchQuery extender, collects all matching
rows with their relevance scores, merges and sorts them by score descending,
then paginates the result set. Each result is rendered using the appropriate
type-specific builder.

Extending

Other modules can provide result rendering for their own search index types
by implementing hook_search_combined_result($type, $sid, $keys) and
returning a result array suitable for theme_search_result() when $type
matches their type. This allows any module that indexes into {search_index}
to have its results included in the Combined tab without depending on this
module.

Documentation

Additional documentation is located in the Wiki:
https://github.com/backdrop-contrib/comment_search/wiki/Documentation.

Issues

Bugs and Feature requests should be reported in the Issue Queue:
https://github.com/backdrop-contrib/comment_search/issues.

Current Maintainers

  • izmeez.
  • Seeking additional maintainers and collaborators.

Credits

Created for Backdrop CMS by izmeez with AI assistance.

License

This project is GPL v2 software.
See the LICENSE.txt file in this directory for complete text.