Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of Kake (3534)

Sunday December 01, 2002
04:34 PM

Search::InvertedIndex and related things

[ #9222 ]

(See also the version of this post.)

On Sun 17 Nov 2002, Kate L Pugh <> wrote:

Is there anyone here who's used Search::InvertedIndex and can point me to some working example code? I'm having great trouble getting my head around it.

Just for completeness:

I seem to have finally figured it out. Here's an example script if anyone else is interested. Note that script does give a warning about the database not being open when it comes to cleanup time. I've yet to look into that problem properly.

(Before anyone suggests it — yes, I will be sending a documentation patch to the maintainer as soon as I manage to get hold of him.)

All this poking about has also led me to notice that this module doesn't care about the position of keys within the data, so it won't be able to do proper phrase searching. (I would love to be proved wrong here.) What are people using for that kind of thing? DBIx::FullTextSearch can do it, but that's limited to MySQL. I can't make head or tail of WAIT; does anyone know if that might suit my needs? And if so, could they point me to some idiot-proof documentation and/or examples?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.