Examples of doIndex()


Examples of org.broad.igv.tools.IgvTools.doIndex()

    }

    private List<Feature> tstOperationBED(String pathA, String pathB,
                                          CombinedFeatureSource.Operation operation, int expectedNumFeatures) throws Exception {
        IgvTools igvTools = new IgvTools();
        igvTools.doIndex(pathA, null, 1, 16000);
        igvTools.doIndex(pathB, null, 1, 16000);
        FeatureSource sourceA = TribbleFeatureSource.getFeatureSource(new ResourceLocator(pathA), genome);
        FeatureSource sourceB = TribbleFeatureSource.getFeatureSource(new ResourceLocator(pathB), genome);

View Full Code Here

Examples of org.broad.igv.tools.IgvTools.doIndex()

    private List<Feature> tstOperationBED(String pathA, String pathB,
                                          CombinedFeatureSource.Operation operation, int expectedNumFeatures) throws Exception {
        IgvTools igvTools = new IgvTools();
        igvTools.doIndex(pathA, null, 1, 16000);
        igvTools.doIndex(pathB, null, 1, 16000);
        FeatureSource sourceA = TribbleFeatureSource.getFeatureSource(new ResourceLocator(pathA), genome);
        FeatureSource sourceB = TribbleFeatureSource.getFeatureSource(new ResourceLocator(pathB), genome);


        CombinedFeatureSource combinedFeatureSource = new CombinedFeatureSource(new FeatureSource[]{sourceA, sourceB}, operation);
View Full Code Here

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

Examples of org.olat.search.service.indexer.repository.course.CourseNodeIndexer.doIndex()

        // go further with resource
        CourseNodeIndexer courseNodeIndexer = CourseNodeIndexerFactory.getInstance().getCourseNodeIndexer( (CourseNode)childCourseNode);
        if (courseNodeIndexer != null) {
          if (log.isDebug()) log.debug("courseNodeIndexer=" + courseNodeIndexer);
           try {
            courseNodeIndexer.doIndex(repositoryResourceContext, course, (CourseNode)childCourseNode, indexWriter);
          } catch (Exception e) {
            log.warn("Can not index course node=" + childCourseNode.getIdent(), e);
          }
        } else {
          if (log.isDebug()) log.debug("No CourseNodeIndexer for " + childCourseNode);       
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.