The search facility on this site is absolutely pants. Complete rubbish. About as useful as a one legged man in an arse kicking contest. Try searching on topics I frequently discuss:
- OS X - 0 articles
- XML - 0 articles
- PHP - 0 articles
- crap – 5 articles!
So either the search isn’t working properly, or my site is full of crap. Hmm. It could be that it ignores words of less than four characters, but that’s next to useless for the stuff I discuss here, so I’m going to get the drains up on the Textpattern search tool and find out what’s going on. I should really add a submit button too. I’ve no idea why it doesn’t have one.
If all that fails, I guess I’ll just rewire the form to point to Google. Check out how it does with OS X, XML, and crap (see, there’s more crap on my site than you thought!).
Update: I’ve added a submit button. Looks like Textpattern uses MySQL full-text searching, which by default is limited to words 4 characters or more. Drat it. My posts are categorised internally, but rather generally. Maybe I need to recategorise them more specifically and enable viewing by category rather than relying on search.



Comments
Personally I prefer to use a site specific search engine than Google, I always think it’s nice to stay ’in’ a site when I search it.
It also means you don’t have to wait for Google to visit with its little notepad and write down everything you’ve said, so there’s no lag on new posts being indexed.
Either way, good luck with it :o)
[Start the flames. ”My blogging software’s better than yours”]
Can anyone think of any whacky hacks I could use to pad out a search on a TLA?
I don’t like the idea of MT because:
1) it’s written in Perl. Perl and I broke up several years ago, and I have no immediate plans to get back together. The whole releationship was painful start to finish, although I did, and in a way still do, love her dearly.
2) it generates static pages. Sod that.
Glad Perl and I don’t really get along all that well either.
But MT and I.. well if it wasn’t for the static pages some sites would have had some serious downtime.
mnoGoSearch comes to mind.
Unless, your shared hosting does not allow you to install anything.
I’m reluctant to invest too much time until the platform is at a release level so the work can be shared.
1) You don’t have to touch the perl part of MT unless you want to write your own plug-ins. [even then you just drop big hints and someone else will write it]
2) No it doesn’t. It generates static files. I’ve used it to generate PHP files before. It works very nicely actually and allows you to minimise db roundtrips to only very quickly changing content.
Come on. You know you want to...
It’s very easy to put together one that searches a MySQL DB and doesn’t use Fulltext.
The only problems I can find are:
[1] You don’t get your results ordered by rank, unless you want to write some extra php stuff to search and count the results before displaying them. And,
[2] Searching for ’cat’ will return ’catastophe’, and ’muscat’ (I think I made that last word up) and so on.
If you wanna hand I can let you know what I know :o)
Take a look at my search thing if you want. Here’s an example search:
http://www.1976design.com/blog/search/foundout
“Hey drew, have you thought of writing your own simple search engine? ”
“If you wanna hand I can let you know what I know”
Wow, I was so clever! ;o)