http://www.perlmonks.org?node_id=1011633


in reply to Writing a database lookup tool

Unless you absolutely need SQL support, take a look at Apache Lucene.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Replies are listed 'Best First'.
Re^2: Writing a database lookup tool
by elef (Friar) on Jan 04, 2013 at 14:21 UTC
    That sounds a lot like what I need. It's in Java though, which I am completely ignorant about. The perl port ( http://search.cpan.org/~tmtm/Plucene-1.25/lib/Plucene.pm ) "is not, in and of itself, a functional search engine - you are expected to subclass and tie all the pieces together to suit your own needs". Does the same apply to the java version? I.e. it's not a full-on graphical lookup application, more like a toolkit for making your own, right?
    If so, what does it offer that all the other database modules on CPAN don't provide?

      Apache provides Solr which is a web service wrapping Lucene. This can be queried using Apache::Solr or WebService::Solr.

      What does it provide? Speed. Pure, uncut speed.

      perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
        Thanks but I'm looking for an offline lookup tool, not a web service. I.e. both the software and the data would need to reside on the user's computer.
        I updated the first post immediately after I wrote it to make this clear, but I guess you read it before the update.