Kit for Chapter 8
The family of modules presented in Chapter 8, illustrate ways to organize search results drawn from multiple docbases and produced by multiple search engines:
- Search::SearchResults
Converts an LoH (list-of-hashes) that abstractly represents multidocbase, multiengine search results into a template-governed HTML display
- Search::Classifier
Parent of a family of Classifiers—each specializing in a particular search engine, each using a set of Mappers to map literal search results into abstract search results
- Search::SwishClassifier
The Classifier that’s specific to the SWISH search engine
- Search::MicrosoftIndexClassifier
The Classifier that’s specific to the Microsoft Index Server
- Search::ProductAnalysisMapper
The Mapper that understands meta-tagged records from the ProductAnalysis docbase
- Search::ConferenceMapper
The Mapper that understands newsgroup postings.
These modules suggest a general strategy for categorizing search results. I haven’t packaged them up with an installer, because you’ll need to customize them for your search engine, and your document collections. But the modules, along with sample templates, are available in http://udell.roninhouse.com/examples/SearchResults.zip.
Get Practical Internet Groupware now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.