protected SearchItemInfoCollection GetContent(int portalId, IndexingProvider indexer)
        {
            SearchItemInfoCollection searchItems = new SearchItemInfoCollection();

            searchItems.AddRange(indexer.GetSearchIndexItems(portalId));
            return(searchItems);
        }
        protected SearchItemInfoCollection GetContent(IndexingProviderBase indexer)
        {
            SearchItemInfoCollection searchItems = new SearchItemInfoCollection();

            System.Collections.ArrayList portals = PortalController.Instance.GetPortals();
            for (int index = 0; index <= portals.Count - 1; index++)
            {
                PortalInfo portal = (PortalInfo)portals[index];
                searchItems.AddRange(indexer.GetSearchIndexItems(portal.PortalID));
            }
            return(searchItems);
        }