Hi all,I’ve build code to get an overview of the document sizes over time in a mailfile. I use two possible methods for this:
-
Walk the viewentries of the All documents view (if this view is untampered with)
-
Walk the db.AllDocuments collection if method 1 doesn’t work
Obviously method 1 is faster, but only if the all documents view is indexed. Another unwanted side effect is that by accessing the All documents view in each mailfile it gets indexed if it wasn’t and thus the size of the mailfile grows. I therefore would need a way to determine if a view is indexed before accessing it. Does anyone know if this is possible?