Ask a Jedi: Time of last Verity update

Michael asks:

Is there a way to tell when the last Verity Search Index Update was done from within an application?

As far as I know, the official answer is no. Since the index is file-based, you may be able to determine it by looking at the collection data, but I’m not sure I’d trust that 100%. However - there are two alternatives:

  1. My Verity indexes are almost always database-based. Therefore, I know that when I update a record, I update the Verity collection. I can then use that information to determine when I last updated my Verity collection.
  2. And of course - there is the manual solution. Simply record to the database the time you last updated the Verity collection. This brings up another interesting problem, and perhaps a good blog post - what is the best way to store "junk", by junk I mean information that doesn't really belong in a table anywhere. In other words, miscellaneous type information. </ol>
Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Comments