Package io.crate.lucene.match

Examples of io.crate.lucene.match.MultiMatchQueryBuilder


                MatchQueryBuilder queryBuilder;
                if (fields.size() == 1) {
                    queryBuilder = new MatchQueryBuilder(searchContext, indexCache, matchType, options);
                } else {
                    queryBuilder = new MultiMatchQueryBuilder(searchContext, indexCache, matchType, options);
                }
                return queryBuilder.query(fields, queryString);
            }
View Full Code Here

TOP

Related Classes of io.crate.lucene.match.MultiMatchQueryBuilder

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.