Sorry, I didn't understand your question as clearly as Zaxo. htDig's relational database integration capabilities are pretty much nil, AFAIK.

Still, it might be easier to index the end-product - the rendered pages - using an existing product, rather than the database itself and XML/txt/HTML sources in a roll-your-own system. Then you wouldn't have to worry about reconstructing the URLs from the search results, and since you've already got category->url mapping, you can build a user search interface that allows limiting by categories by allowing search restriction by URL path.

As an aside, it's also quite hard to do good free-text searches within an RDBMS - MySQL's FREETEXT indexes are pretty limited. On the site I'm working on at the moment, we've ditched a search system build round Oracle's ConText / Intermedia search tool in favour of an htDig system indexing the rendered pages within a CMS.

cheers
ViceRaid


In reply to Re: Re: Re: Perfect Indexer & Search Engine by ViceRaid
in thread Perfect Indexer & Search Engine by YAFZ

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.