Examples of updateIndex()


Examples of org.apache.stanbol.commons.solr.managed.ManagedSolrServer.updateIndex()

                            log.info("Property \""
                                     + INDEX_ARCHIVES
                                     + "\" not present within the SolrIndex references file. Will use the default name \""
                                     + indexPath + "\"");
                        }
                        server.updateIndex(indexName, indexPath, props);
                        setFinishedState(ResourceState.INSTALLED);
                    } else {
                        ArchiveInputStream ais = null;
                        try {
                            ais = ConfigUtils.getArchiveInputStream(archiveFormat, is);
View Full Code Here

Examples of org.apache.stanbol.commons.solr.managed.ManagedSolrServer.updateIndex()

                        setFinishedState(ResourceState.INSTALLED);
                    } else {
                        ArchiveInputStream ais = null;
                        try {
                            ais = ConfigUtils.getArchiveInputStream(archiveFormat, is);
                            server.updateIndex(indexName, ais);
                            // we are done ... set the state to installed!
                            setFinishedState(ResourceState.INSTALLED);
                        } finally {
                            IOUtils.closeQuietly(ais);
                        }
View Full Code Here

Examples of org.apache.stanbol.commons.solr.managed.ManagedSolrServer.updateIndex()

                            log.info("Property \""
                                     + INDEX_ARCHIVES
                                     + "\" not present within the SolrIndex references file. Will use the default name \""
                                     + indexPath + "\"");
                        }
                        server.updateIndex(indexName, indexPath, props);
                        setFinishedState(ResourceState.INSTALLED);
                    } else {
                        ArchiveInputStream ais = null;
                        try {
                            ais = ConfigUtils.getArchiveInputStream(archiveFormat, is);
View Full Code Here

Examples of org.apache.stanbol.commons.solr.managed.ManagedSolrServer.updateIndex()

                        setFinishedState(ResourceState.INSTALLED);
                    } else {
                        ArchiveInputStream ais = null;
                        try {
                            ais = ConfigUtils.getArchiveInputStream(archiveFormat, is);
                            server.updateIndex(indexName, ais);
                            // we are done ... set the state to installed!
                            setFinishedState(ResourceState.INSTALLED);
                        } finally {
                            IOUtils.closeQuietly(ais);
                        }
View Full Code Here

Examples of org.apache.stanbol.commons.solr.managed.ManagedSolrServer.updateIndex()

                            log.info("Property \""
                                     + INDEX_ARCHIVES
                                     + "\" not present within the SolrIndex references file. Will use the default name \""
                                     + indexPath + "\"");
                        }
                        server.updateIndex(indexName, indexPath, props);
                        setFinishedState(ResourceState.INSTALLED);
                    } else {
                        ArchiveInputStream ais = null;
                        try {
                            ais = ConfigUtils.getArchiveInputStream(archiveFormat, is);
View Full Code Here

Examples of org.apache.stanbol.commons.solr.managed.ManagedSolrServer.updateIndex()

                        setFinishedState(ResourceState.INSTALLED);
                    } else {
                        ArchiveInputStream ais = null;
                        try {
                            ais = ConfigUtils.getArchiveInputStream(archiveFormat, is);
                            server.updateIndex(indexName, ais);
                            // we are done ... set the state to installed!
                            setFinishedState(ResourceState.INSTALLED);
                        } finally {
                            IOUtils.closeQuietly(ais);
                        }
View Full Code Here

Examples of org.exist.storage.statistics.IndexStatisticsWorker.updateIndex()

    public Sequence eval(Sequence[] args, Sequence contextSequence) throws XPathException {
        final IndexStatisticsWorker index = (IndexStatisticsWorker)
            context.getBroker().getIndexController().getWorkerByIndexId(IndexStatistics.ID);
        if (index != null) {
            index.updateIndex(context.getBroker());
        } else {
          logger.error("The module may not be enabled!");
        }
        return Sequence.EMPTY_SEQUENCE;
    }
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.query.Indexer.updateIndex()

                  LOG.debug("The current content of the map of indexers is " + indexers);
               }
            }
            else if (wrapper.withChanges())
            {
               indexer.updateIndex(wrapper.getChanges(), wrapper.getParentChanges());
            }
            else
            {
               indexer.updateIndex(wrapper.getAddedNodes(), wrapper.getRemovedNodes(), wrapper.getParentAddedNodes(),
                  wrapper.getParentRemovedNodes());
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.query.Indexer.updateIndex()

            {
               indexer.updateIndex(wrapper.getChanges(), wrapper.getParentChanges());
            }
            else
            {
               indexer.updateIndex(wrapper.getAddedNodes(), wrapper.getRemovedNodes(), wrapper.getParentAddedNodes(),
                  wrapper.getParentRemovedNodes());
            }
         }
         finally
         {
View Full Code Here

Examples of org.exoplatform.services.jcr.impl.core.query.Indexer.updateIndex()

                  LOG.debug("The current content of the map of indexers is " + indexers);
               }
            }
            else if (wrapper.withChanges())
            {
               indexer.updateIndex(wrapper.getChanges(), wrapper.getParentChanges());
            }
            else
            {
               indexer.updateIndex(wrapper.getAddedNodes(), wrapper.getRemovedNodes(), wrapper.getParentAddedNodes(),
                  wrapper.getParentRemovedNodes());
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.