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;
}
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;
}
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;
}
Aggregations