Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Using DBIx::FullTextSearch

by Ryszard (Priest)
on Sep 22, 2002 at 11:47 UTC ( [id://199876]=note: print w/replies, xml ) Need Help??


in reply to Using DBIx::FullTextSearch

This is *somewhat* interesting. I say somewhat because you've not really added a conclusion to your experience of inplementation.

Personally, what I'd like to see is pros, cons, preformance results (both time, and search semantics) and a general opinion of weather or not you think this exercise was worthwhile, and what kind of applications you'd use it for (ie how far do *you* think it will scale)..

None the less, an interesting article on the implementation...

Replies are listed 'Best First'.
Re: Re: Using DBIx::FullTextSearch
by trs80 (Priest) on Mar 04, 2003 at 13:51 UTC
    Pros
    • CPAN available
    • Implement in a short period of time if you have existing databases
    • Keeps search information inside the same container as the data
    Cons
    • Requires knowledge/familiarity with DBI, MySQL, and Perl data strucutures. Which may make it difficult to use for newer users of Perl.
    • Only works with MySQL
    • Could impact database performance if search is perfromed on the same database as the data in heavily loaded systems.

    Performance Results

    There is really no reason for me to do this at the scale of the application this was applied to. There is no noticable latency even when the search is performed over 100Mbps connected servers.

    Worthwhile

    The exercise worthwhile for several reasons:
    • Reused existing code
    • Provided results that were much more accurate
    • Scripts produced will allow for easier future implementations on other projects
    • Provided support for search modifiers (AND, OR, +)


    Where to use it (will it scale)
    • Since I have not done any performance tests I can't possibly predict how far this would scale, but speaking from my own install with roughly 5MB of searched content the seat of the pants performance is acceptable

    The system has been online now for 6 months and it has satisified the clients search requirements as well as aided site visitors in locating the information of interest to them. The solution is implemented on a mod_perl enabled Apache server with ~30,000 visitors per month at peak.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://199876]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found