Having looked through the forum, I found similar topics but, alas, without answers. Thus I add to forum pollution.

Anyway, my Drupal search is working pretty well but for certain searches I want to completely control the initial results display. So instead of what drupal ranks and spits out, for certain searches, I first want to display my customised result and then allow the regular results to list themselves later in the page.

I have built a module that can recognise the keywords for which I want customised results, BUT, my custom result displays in a separate tab. (Content tab, Users tab, Custom Search tab) There's the rub - I want my search integrated into the main "Content" tab results. I was hoping implementing hook_search would let me take over the default "Content" (node) search, but it seems it only allows me to add another search option. (ie. another tab)

So long story short, do I have to hack the core search module to get just one result set that I can customise? (knowing that hacking the core is a big no-no)

I hope I'm just missing something obvious.

Regards,
Märt