> > * There is one "Global Index Repository" in the CAS (accessible by > CAS.getGlobalIndexRepository() and CAS.addFsToGlobalIndexes()) > > * Each view has its own Index Repository, containing only the indexes > that are specific to that view. (accessible by > CasView.getIndexRepository() and CasView.addFsToIndexes()). > > * There may be an additional method CAS.getCompleteIndexRepository() > which returns an IndexRepository that contains ALL indexes in the > entire CAS, including the global indexes as well as all indexes in all > views. However, I argued that this index repository should be > read-only (i.e. not support addFS()), because adding an FS to all > views in one fell swoop seemed like to dangerous an operation. >
We had previously discussed that using the base CAS as a single global view was not useful for applications because of potential collisions, and therefore recommended that a collection of multi-view analytics that need a single "global" view should create a named view for that purpose. Doesn't that previous discussion read on the topic of global indexes? Eddie
