Package org.apache.jackrabbit.oak.plugins.index.solr.configuration

Examples of org.apache.jackrabbit.oak.plugins.index.solr.configuration.UpToDateNodeStateConfiguration


    @Activate
    public void activate(ComponentContext context) throws Exception {
        try {
            // try reading configuration from the configured repository path
            UpToDateNodeStateConfiguration nodeStateConfiguration = new UpToDateNodeStateConfiguration(
                    nodeStore, String.valueOf(context.getProperties().get(
                    CONFIGURATION_PATH)));
            solrServerProvider = new EmbeddedSolrServerProvider(
                    nodeStateConfiguration.getSolrServerConfiguration());
            oakSolrConfigurationProvider = new EmbeddedSolrConfigurationProvider(
                    nodeStateConfiguration);
        } catch (Exception e) {
            // use the default config and the OSGi based server configuration
            solrServerProvider = new EmbeddedSolrServerProvider(
View Full Code Here


    @Activate
    public void activate(ComponentContext context) throws Exception {
        try {
            // try reading configuration from the configured repository path
            UpToDateNodeStateConfiguration nodeStateConfiguration = new UpToDateNodeStateConfiguration(
                    nodeStore, String.valueOf(context.getProperties().get(
                    CONFIGURATION_PATH)));
            solrServerProvider = new EmbeddedSolrServerProvider(
                    nodeStateConfiguration.getSolrServerConfiguration());
            oakSolrConfigurationProvider = new EmbeddedSolrConfigurationProvider(
                    nodeStateConfiguration);
        } catch (Exception e) {
            // use the default config and the OSGi based server configuration
            solrServerProvider = new EmbeddedSolrServerProvider(
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.plugins.index.solr.configuration.UpToDateNodeStateConfiguration

Copyright © 2018 www.massapicom. 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.