Package org.olat.search.service.indexer

Examples of org.olat.search.service.indexer.Indexer.doIndex()


          searchResourceContext.setLastModified(repositoryEntry.getLastModified());
          searchResourceContext.setCreatedDate(repositoryEntry.getCreationDate());
          // go further with resource
          Indexer repositoryEntryIndexer = RepositoryEntryIndexerFactory.getInstance().getRepositoryEntryIndexer(repositoryEntry);
          if (repositoryEntryIndexer != null) {
            repositoryEntryIndexer.doIndex(searchResourceContext, repositoryEntry, indexWriter);
          } else {
            if (Tracing.isDebugEnabled(RepositoryIndexer.class)) Tracing.logDebug("No RepositoryEntryIndexer for " + repositoryEntry.getOlatResource(),RepositoryIndexer.class); // e.g. RepositoryEntry       
          }
        } else {
          Tracing.logWarn("RepositoryEntry is on black-list and excluded from search-index, repositoryEntry=" + repositoryEntry, RepositoryIndexer.class);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.