Drupal Core search + Google Search results

deltab - November 1, 2009 - 19:36
Project:Google Ajax Search Module
Version:6.x-1.2
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

many thanks for this great module.

it would be really interesting (my site has 300,000 nodes) if I could make some blocks for apachesolr search (the same form as Drupal Core search) so that whenever somebody searches for a term on my site, the blocks display Google search results, while the main body is displaying site search results.

is there already a way of doing this?

#1

gabidrg - November 2, 2009 - 20:43

One approach would be to write a plugin that gets the query parameters/filters from Apache Solr current query and passes them to GAS as search keywords. I would play with this, but I do not have for the moment a functional Apache Solr with a D6 site connected to it.

#2

deltab - November 3, 2009 - 07:52

@gabidrg, I can get a machine setup if you want, with read-only access to a Solr index

#3

mac_perlinski - November 3, 2009 - 11:25

Well i haven't had really time lately, but it should be fairly easy to create plugin which is make use out of hook_search and $op==search, that should actually work with google native search and apache solr.

Kindest regards,
Maciej Perlinski Meant4.com
maciej.perlinski@meant4.com
http://www.meant4.com

#4

deltab - November 3, 2009 - 18:08

@mac_perlinski, whoa! non-coder here, I can provide the necessary system and a clean drupal instance for a coder, but the skill stops right in there. So should somebody want to do this, I can put up a solr + drupal setup and help test the plugin.

 
 

Drupal is a registered trademark of Dries Buytaert.