Package org.elasticsearch.action.explain

Examples of org.elasticsearch.action.explain.ExplainSourceBuilder


        request.preference(preference);
        return this;
    }

    public ExplainRequestBuilder<JsonInput, JsonOutput> queryBuilder(QueryBuilder query) {
        request.source(new ExplainSourceBuilder().setQuery(query));
        return this;
    }
View Full Code Here


        request.source(new ExplainSourceBuilder().setQuery(query));
        return this;
    }

    public ExplainRequestBuilder<JsonInput, JsonOutput> query(JsonInput query) {
        request.source(new ExplainSourceBuilder().setQuery(new BytesArray(jsonToString(query))));
        return this;
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.action.explain.ExplainSourceBuilder

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.