Package org.elasticsearch.action.admin.indices.analyze

Examples of org.elasticsearch.action.admin.indices.analyze.AnalyzeRequest.index()


    }

    public AnalyzeRequestBuilder<JsonInput, JsonOutput> text(String text) {
        //we need to create a new request since there's no setter for index
        AnalyzeRequest newRequest = new AnalyzeRequest(text);
        newRequest.index(request.index())
                .analyzer(request.analyzer())
                .field(request.field())
                .tokenizer(request.tokenizer())
                .tokenFilters(request.tokenFilters());
        this.request = newRequest;
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.