Search api auto complete grouping issue

Created on 24 September 2024, 4 months ago

I need help with the Search API autocomplete module. I created a grouping search using the patch below, but I also want it to show all group content in the results when I search with any letter. Currently, it is only showing one content type.

https://www.drupal.org/files/issues/2024-09-11/group_label-3062431-12.patch

Feature request
Status

Active

Version

1.9

Component

General code

Created by

🇮🇳India naveenreddy143

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @naveenreddy143
  • 🇦🇹Austria drunken monkey Vienna, Austria

    The Search API is not equipped to retrieve search results that way. You will either need something like the Search API Grouping module or execute several searches, one for each datasource/group. In any case, you’ll probably need to provide your own custom suggester plugin for this (or override the “Live results” one).
    If the code is neat enough, and other people also express interested, I’d be willing to consider something like that to the module, so I’m leaving this open in case someone wants to suggest code for this.

Production build 0.71.5 2024