Stories
Slash Boxes
Comments
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 ]

TeeJay (2309)

TeeJay
  (email not shown publicly)
http://www.aarontrevena.co.uk/

Working in Truro
Graduate with BSc (Hons) in Computer Systems and Networks
pm : london.pm, bath.pm, devoncornwall.pm
lug : Devon & Cornwall LUG
CPAN : TEEJAY [cpan.org]
irc : TeeJay
skype : hashbangperl
livejournal : hashbangperl [livejournal.com]
flickr :hashbangperl [flickr.com]

Journal of TeeJay (2309)

Tuesday April 20, 2004
01:46 PM

more on object oriented searching..

[ #18408 ]
After only a couple of hours mucking about with our class schemas and rewriting my customised Class::Indexed code I can index an object including many to many relationships.

I need to provide some logic in some of the related classes to ensure referential integrity so that when a relation C of relation B to class A is changed and relation B has methods using relation C that are indexed in Class A, class A re-indexes the appropriate relation (B), which will return new values based on an updated relation C. The same applies to deletions.

Other than that I think I have it working quite nicely, despite some hacky methods in some classes to get around the limitation of indexed class only supporting indexing of direct relations and not relations of relations.

Yes, it is sounds a little complex, but my goal is for searching to give the results that users are looking for, given that all the indexing despite its complexity still generates a plain old (well normalised, and linked to a metadata table) reverse index, the searching will be as fast or faster than the lame single table, hardcoded columns fulltext searching that many websites use. My searching provides fulltext/keyword searching accross tables and even objects. The results are infinitely better.

The only improvement I can think of is integrating a part-of-speach tagger that will provide some limited phrase matching (transparently to the user).

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