Package org.elasticsearch

Examples of org.elasticsearch.Version


        this.tokenFilterFactory = tokenFilterFactory;
    }

    @Override
    public TokenFilterFactory create(String name, Settings settings) {
        Version indexVersion = Version.indexCreated(settings);
        if (!Version.CURRENT.equals(indexVersion)) {
            PreBuiltTokenFilters preBuiltTokenFilters = PreBuiltTokenFilters.getOrDefault(name, null);
            if (preBuiltTokenFilters != null) {
                return preBuiltTokenFilters.getTokenFilterFactory(indexVersion);
            }
View Full Code Here

TOP

Related Classes of org.elasticsearch.Version

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.