Search in sources :

Example 1 with MoreLikeThisQueryBuilder

use of org.opensearch.index.query.MoreLikeThisQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regMoreLikeThisQueryQ.

protected MoreLikeThisQueryBuilder regMoreLikeThisQueryQ(String name, String[] likeTexts) {
    MoreLikeThisQueryBuilder moreLikeThisQuery = QueryBuilders.moreLikeThisQuery(new String[] { name }, likeTexts, null);
    regQ(moreLikeThisQuery);
    return moreLikeThisQuery;
}
Also used : MoreLikeThisQueryBuilder(org.opensearch.index.query.MoreLikeThisQueryBuilder)

Example 2 with MoreLikeThisQueryBuilder

use of org.opensearch.index.query.MoreLikeThisQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regMoreLikeThisQueryQ.

protected MoreLikeThisQueryBuilder regMoreLikeThisQueryQ(String name, String[] likeTexts) {
    MoreLikeThisQueryBuilder moreLikeThisQuery = QueryBuilders.moreLikeThisQuery(new String[] { name }, likeTexts, null);
    regQ(moreLikeThisQuery);
    return moreLikeThisQuery;
}
Also used : MoreLikeThisQueryBuilder(org.opensearch.index.query.MoreLikeThisQueryBuilder)

Example 3 with MoreLikeThisQueryBuilder

use of org.opensearch.index.query.MoreLikeThisQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regMoreLikeThisQueryQ.

protected MoreLikeThisQueryBuilder regMoreLikeThisQueryQ(String name, String[] likeTexts) {
    MoreLikeThisQueryBuilder moreLikeThisQuery = QueryBuilders.moreLikeThisQuery(new String[] { name }, likeTexts, null);
    regQ(moreLikeThisQuery);
    return moreLikeThisQuery;
}
Also used : MoreLikeThisQueryBuilder(org.opensearch.index.query.MoreLikeThisQueryBuilder)

Aggregations

MoreLikeThisQueryBuilder (org.opensearch.index.query.MoreLikeThisQueryBuilder)3