Thank you for the help so far.

First of all, if I could make an indexing system that would be great :P However, this is just a small project for the University and I dont have many hours to spend on this project, so I think it would be overkill to make something that complicated. Ive only been working on it for a few days, and its pretty much done except for the 'too many matches' problem. Not to mention, most of the work was converting the database from Access to Microsoft SQL.

As for the slicing, I was thinking of having SQL order the results by number of hits, that way if you click on "See results 20-29" I could just tell SQL to give me 20-29 of the ordered results. Im not sure if that is how LIMIT would work, wouldnt LIMIT just give me a number of results less than the limit?

Ill take a look at that article and the free search engines and see if I can persue that end. However, is everyone pretty much sure I am asking to do the impossible in SQL?

*edit: As for new articles, at any time Publications can hand us a new updated Access Database, and I have to write the tools that will auto update the Microsoft SQL database, so my application actually has to allow for new articles to be published. I have to make them easy to use too, as the few people in the office that know perl might be gone one day as we are student employees.

In reply to Re: Inefficient search algorithm? by ruhk
in thread Inefficient search algorithm? by ruhk

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.