in reply to Faster searching
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
|
|---|