// capability is too slow and will be left disabled.
if (GWT.isScript()) {
SearchManager searchManager = new SearchManager(serviceLoader,
searchIndex,
new DiscoveryFullTextIndexingStrategy(),
new DirectoryIndexingStrategy(),
new HistoryItemIndexingStrategy(),
ImmutableList.of(fullView, historyManager));
serviceLoader.delegate = searchManager;
historyCache.observer = searchManager;
}