It seems to me your answer is almost already to hand. You say that the purpose of your script is to log the changes or in other words the only 'allowed' way to make these changes should be through it - otherwise they can not be logged.

This being the case why not create a script to index everything and then use your logger to update as well as search this index. Eventually someone will update without using your logform interface (Murphy's law) but this should allow you to have an index which may need to be updated as little as once a day, say via a cron during the lowest usage time on the server. You could also include a checkbox option on your logform interface like:

"I can't find the damn status I want, I think the index must be out of sync so do a full reindex now please - yes I know it will take a while!"

As a result the index is realtime updated and regularly resyncronised.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print


In reply to Re: Faster searching by tachyon
in thread Faster searching by the_slycer

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.