I've had a look at Google, CPAN and here via SuperSearch, but "search" is such a popular term that it's hard to find what I want.

I wish to provide users of my site with a Simple search function. I will have about 1500 small pages of HTML built from XML, and I'd like to allow users to search them (free-text). The pages will be built via XSLT from XML, so I have the option to dump XML meta-data out to an index file should that be useful. I don't expect a lot of load but you never know...

I have two phases to the project, get a quick demo working within a month, on a much reduced data set, and then get a solid proposal together for a serious long term solution. The final machine will be a average BSD box, running Apache/mod_Perl/MySQL (though this is configurable).

My questions are:

Ideally I'd like a Perl based solution that costs nothing and works..... Buying a copy of Verity Search isn't an option, and I'd like to avoid paying someone like Google a lot of money if it's not used much. Thoughts, insights and tips warmly welcomed.

As ever, many thanks in advance....


In reply to How to Simply Search a Web Site? by ajt

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.