I want end users to search some texts I have via a CGI tool. And I want them to be able to query the texts as they would query the web with Google. In other words, I want to take a string that a user passes—a string that obeys the rules established at http://www.google.com/help/basics.html, or at least the most basic of those rules—and use it to query a set of texts. When that's done, I'll present the user with all the texts that matched the query.
The catch is that my texts don't exist in discrete files. So I can't simply have Google index them and provide my end users with the Google search results.
As far as I can tell, I have two options. I can roll my own code. Or I can use Text::Query. Are there any other modules I might use?
Thanks,
--John
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.