Package grails.plugin.searchable.internal.compass.config

Examples of grails.plugin.searchable.internal.compass.config.CompositeSearchableCompassConfigurator


        EnvironmentSearchableCompassConfigurator environment = SearchableCompassConfiguratorFactory.getEnvironmentConfigurator(compassConnection, compassSettings, grailsApplication, getBeans());
        CompassXmlConfigurationSearchableCompassConfigurator compassXml = SearchableCompassConfiguratorFactory.getCompassXmlConfigurator(resourceLoader);
        DefaultGrailsDomainClassMappingSearchableCompassConfigurator mappings = SearchableCompassConfiguratorFactory.getDomainClassMappingConfigurator(grailsApplication, resourceLoader, defaultFormats, defaultExcludedProperties, compassClassMappingXmlBuilder);
        InferredCompassSettingCompassConfigurator inferred = new InferredCompassSettingCompassConfigurator();

        CompositeSearchableCompassConfigurator configurator = new CompositeSearchableCompassConfigurator();
        configurator.setSearchableCompassConfigurators(new SearchableCompassConfigurator[] {
            compassXml, environment, mappings, inferred
        });

        super.setSearchableCompassConfigurator(configurator);
    }
View Full Code Here

TOP

Related Classes of grails.plugin.searchable.internal.compass.config.CompositeSearchableCompassConfigurator

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.