More Search used; What should be done to increase performance

Events happening in the community are now at Drupal community events on www.drupal.org.
gdtechindia's picture

We have a website which is mainly based on the Search done by users.
Out of our total traffic is around 20k uniques per day, 40% is only searching on the site for information.

Can someone suggest the best module / system which will help us to increase the website speed.

Due to too many search queries, our server is running under heavy load.

Thanks
Dhaliwal

Comments

ApacheSolr

lucene

mcmaus's picture

hi Dhaliwal,

we also had lots of search query on bloomstreet.net and we decided to use lucene to do our searches. We seperated search from drupal which appeared to be the best decision. It helped us a lot to reduce server load while hits still increased.

Take a look at lucene (solr) to dive in.

best regards,

henning

cool site:

gdtechindia's picture

cool site: http://bloomstreet.net/

should be in showcase (if already not there), its quite impressive.

couldn't understand as its in German (i guess), but its presented and designed very nicely.

Simple solution

kbahey's picture

A simple solution is to use the Adsense module and enable the search block.

Now your site is searchable via Google's index of your site, and all the ease and search goodness of Google.

For more fine grained search, you can use the already mentioned Apache Solr, or you can use Sphinx as your backend http://drupal4hu.com/node/129. Both of these solutions require a separate backend outside of Drupal.

Drupal performance tuning, development, customization and consulting: 2bits.com, Inc..
Personal blog: Baheyeldin.com.

Drupal performance tuning, development, customization and consulting: 2bits.com, Inc..
Personal blog: Baheyeldin.com.

Thanks to everyone for a

gdtechindia's picture

Thanks to everyone for a reply.

And kbahey, salute to you for creating some very nice modules. Really, i have used some of them and they are great.

We are using both, google search and Drupal's Search. But for some reason, we want to keep Drupal search as well.

Is someone having any idea how we can implement Adsense code on Search pages generated by Drupal ?

Also, i have been asking this for maybe 3 times already on Drupal forum. Can anyone tell how we can censor some Search Keywords which are porn ?

I will try to find someone to install SOLR on the server and will get back to you with my experience.

To embed ads in search results

kbahey's picture

To embed any kind of code in search results, you can read this article:

adding sponsored results in Drupal's search results page

For Adsense, you can embed code that displays the ad format you want. See adsense's help on the settings page for the exact PHP code.

Drupal performance tuning, development, customization and consulting: 2bits.com, Inc..
Personal blog: Baheyeldin.com.

Drupal performance tuning, development, customization and consulting: 2bits.com, Inc..
Personal blog: Baheyeldin.com.

code worked; but still some things left

gdtechindia's picture

The code worked for our website, but there was an issue.

The Google ads were shown on the top of the page and not above the search results.

Also, i thought there should be some easier way of implementing this, as it seemed something one could do in template only as we are going to call only Adsense code and not some search results.

Thanks for your time.

drupalmind's picture

What would be performance if we will use expose filter for searching?
thx

High performance

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: