On Wed, 2 Jan 2002, Simon Miner wrote: > I'm hunting for an open source fulltext search engine with a Perl API. I > checked out SWISH-E and ht://Dig, and neither of them seems to support this. > I know I could write a wrapper program to call one of their binaries, but as > the application I am writing is going to get a good amount of traffic, I'd > prefer the added speed and security of a non-forking solution.
Simon, You might want to look at swish++. It's a C++ rewrite of swish-e, and adds the ability to run as a daemon (pthread based, as opposed to forking). [Disclaimer: I needed to compile a staticly-linked binary, so I've never had a chance to use the fancy threaded search daemon]. http://homepage.mac.com/pauljlucas/software/swish/ For me, one of the nicer capabilities of the program is its ability to index html meta tags separately from the rest of the body. For example, if you had <meta name="author" content="bostonpm"> you could do a query to the effect of author=bostonpm It also comes with a few pieces of perl glue, which you'll probably need to rewrite to taste. I've been pretty happy with it though. HTH. -- Steve Revilak
