...
|
...
|
@@ -103,7 +103,7 @@ public class RobotQuestionServiceImpl extends BaseService implements IRobotQuest |
|
|
queryBuilder.type(MultiMatchQueryBuilder.Type.CROSS_FIELDS);
|
|
|
queryBuilder.operator(Operator.OR);
|
|
|
queryBuilder.minimumShouldMatch(minimumShouldMatch);
|
|
|
queryBuilder.field("keywords", 300).field("question", 100).field("synonym", 100);
|
|
|
queryBuilder.field("keywords", 300).field("question", 200).field("synonym", 100);
|
|
|
searchParam.setQuery(queryBuilder);
|
|
|
|
|
|
//配置Filter
|
...
|
...
|
|