« easier management of blogrolls and media | Main

fast searches with PHP

Here's another one for the "I should have done this a long time ago" list. I had been experiencing some problems with mt-search.cgi on this installation; it was using up too much memory on the server (this is also why I switched to using Tagwire for showing my tags).

Now I'm using the PHP-based Fast Search and it works great. It took me a little while to figure it out but once I got it down, setting it up for each of my blogs was a snap. You can test it out using the search form in the sidebar of the blog.

The one oddity I found, which may be due to something weird on my end, is that it didn't like the "fastsearch" filename for the search template and the Dynamic Pages Error Template would claim "Page not found". This caused me a lot of confusion. However, I found that it worked fine if I used a different output filename for the template. The rest was easy from there.

This is a great plugin and I especially recommend it to anyone who finds that mt-search.cgi is slow or is using up too many server resources.

Related

This tip is built on the following tip(s):

The following tip(s) expand on this tip:

This entry is about search backend. The ten most recent entries also about this topic are:

using the right fields for the job

smilies for your entries

super-easy design changes

MT 3.2 is out!

3.16 released

tested in MT3

on the move to MT 3

more ways to soup up MT search

souping up MT search

search templates that 'remember'

View all entries about search backend.

Comments

Thanks for the tips. I use Tagwire and KeywordExtractor for my blogs and a little coding in the htaccess file to send static-looking tag URLs to the MT-search routine. Unfortunately the sites go down once a week or so due to excessive memory use. I've actually disabled some of this but Google's remembering the tags and still indexing them. I'll try Fast Search and see if it helps.

Yeah, sometimes its the search engine spiders that kill you, especially if you're using search templates for tags. I had the same thing happen to me.

About This Blog

  • Disclaimer: This is a personal site and is not connected with Six Apart, Ltd, the makers of Movable Type
  • Contact me:
  • Readme: What this blog is and is not
  • Reference: Templates for Al-Muhajabah's Islamic Blogs

August 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Tips by Type

Tips by Area

Other ways to read this blog

Feed Subscribe to this blog's feed
(default is RSS 2.0, I also have RSS 1.0 and Atom)

Text-only version
Powered by
Movable Type 3.2