For information on converting to InterSystems IRIS, see the
InterSystems IRIS Adoption Guide
and the InterSystems IRIS In-Place Conversion Guide,
both available on the WRC Distributions page (login required).
Class to implement an efficient listing of SearchTables which have stored data for various
document types. The primary purpose of this class is to ensure that the removal of documents which
may have been indexed can remove all related SearchTable data for the given document.
Make a record of the fact that the message class pDocClass has stored data
in the extent defined by the class in pSearchTableRoot.
pUpdateCache indicates whether the local process cache should be updated.
This should generally be performed while within Ensemble jobs which need to main this information
for some time.
Should there be a problem whereby the data in ^Ens.DocClassMap is lost,
this method can be invoked to rebuild the data in the DocClassMap. pRemoveFirst controls whether the current contents of the map
are removed before determining any new entries to add. pCheckExtent controls whether code will check whether the
SearchTable extent contains any data. If it doesn't then the SearchTable
won't be added to the DocClassMap. pVerbose controls whether output is logged to the current device.
classmethod RemoveSearchTable(pSearchTable As %String, pUpdateCache As %Boolean = $data($$$EnsJobLocal)) as %Status
API to clean up the entries for a given SearchTable extent specified by pSearchTable.