/** * Creates a match query with type "BOOLEAN" for the provided field name and text. * * @param fieldNames The field names. * @param text The query text (to be analyzed). */ public static MultiMatchQueryBuilder multiMatchQuery(Object text, String... fieldNames) { return new MultiMatchQueryBuilder(text, fieldNames); // BOOLEAN is the default }
/** * Creates a match query with type "BOOLEAN" for the provided field name and text. * * @param fieldNames The field names. * @param text The query text (to be analyzed). */ public static MultiMatchQueryBuilder multiMatchQuery(Object text, String... fieldNames) { return new MultiMatchQueryBuilder(text, fieldNames); // BOOLEAN is the default }
/** * Creates a match query with type "BOOLEAN" for the provided field name and text. * * @param fieldNames The field names. * @param text The query text (to be analyzed). */ public static MultiMatchQueryBuilder multiMatchQuery(Object text, String... fieldNames) { return new MultiMatchQueryBuilder(text, fieldNames); // BOOLEAN is the default }
/** * Creates a match query with type "BOOLEAN" for the provided field name and text. * * @param fieldNames The field names. * @param text The query text (to be analyzed). */ public static MultiMatchQueryBuilder multiMatchQuery(Object text, String... fieldNames) { return new MultiMatchQueryBuilder(text, fieldNames); // BOOLEAN is the default }
/** * Creates a match query with type "BOOLEAN" for the provided field name and text. * * @param fieldNames The field names. * @param text The query text (to be analyzed). */ public static MultiMatchQueryBuilder multiMatchQuery(Object text, String... fieldNames) { return new MultiMatchQueryBuilder(text, fieldNames); // BOOLEAN is the default }
MultiMatchQueryBuilder builder = new MultiMatchQueryBuilder(value) .fields(fieldsBoosts) .type(type)
return Optional.of(new MultiMatchQueryBuilder(value) .fields(fieldsBoosts) .type(type)
MultiMatchQueryBuilder builder = new MultiMatchQueryBuilder(value) .fields(fieldsBoosts) .type(type)
MultiMatchQueryBuilder builder = new MultiMatchQueryBuilder(value) .fields(fieldsBoosts) .type(type)