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:
- 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.
- 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.