Package org.elasticsearch.index.query.xcontent

Examples of org.elasticsearch.index.query.xcontent.XContentQueryBuilder


    public String getQueryString() {
        return queryString;
    }

    public SearchRequestBuilder initRequestBuilder(SearchRequestBuilder builder) {
        XContentQueryBuilder qb;

        if (!Helper.isEmpty(queryString)) {
            qb = QueryBuilders.queryString(queryString).defaultOperator(Operator.AND).
                    field(MySearch.TWEET_TXT).field(MySearch.NAME, 0).
                    allowLeadingWildcard(false).analyzer(getDefaultAnalyzer()).useDisMax(true);
View Full Code Here

TOP

Related Classes of org.elasticsearch.index.query.xcontent.XContentQueryBuilder

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.