I took a look at
swish-e. It doesn't
have the annoying tendency to ignore any words of three characters
or less. That means I can now search for
Don
Box.
I also now have a direct API instead of piping queries through
the shell, and having to worry about the security implications of
not having escaped all the shell characters properly. This
means that I can do interesting queries like
mark pilgrim not "mark pilgrim".
Darn, SWIG support for PHP justisn't there yet. Lots of missing files. Looks like I'm going to have to write a daemon in perl and just connect that way. :-(
i wrote a php interface for swish-e (or was it just swish?) once upon a time. it should be even easier now that there's a proper library version of swish-e. especially if you were at one of my sessions about writing php extensions at the two php-con's. i'd offer to whip one up, but don't have the hours to rub together.
other alternatives to consider are mnogosearch or mysql's full-text search (which is what i use on my site).
I found writing a PHP extension to be fairly easy, even without the benefit of going to a Jim Winstead session. ;-)
My biggest hurdle these days is logistics. The last time I checked, on Windows, a back level of VisualStudio is required to develop. On Linux an uplevel version of libtool (or somesuch) is required.
I wonder if it's just me, or whether the community that I frequent has this on its collective consciousness, but I've been spending quite a bit of time wondering about the benefits of dynamically typed languages. Sam Ruby pointed me to SWIG, which...
I wonder if it's just me, or whether the community that I frequent has this on its collective consciousness, but I've been spending quite a bit of time wondering about the benefits of dynamically typed languages. Sam Ruby pointed me......
[more]