...
|
...
|
@@ -58,8 +58,10 @@ public class RobotRelatedQuestionMqListener extends AbstractMqListener { |
|
|
RobotQuestionIndexBO robotQuestionIndexBO = new RobotQuestionIndexBO();
|
|
|
robotQuestionIndexBO.setId(robotRelatedQuestion.getId());
|
|
|
robotQuestionIndexBO.setQuestion(robotRelatedQuestion.getQuestion());
|
|
|
if(robotKnowledgeBase!=null){
|
|
|
robotQuestionIndexBO.setKeywords(robotKnowledgeBase.getKeywords());
|
|
|
robotQuestionIndexBO.setSynonym(robotKnowledgeBase.getSynonym());
|
|
|
}
|
|
|
String idValue = robotQuestionIndexBO.getId().toString();
|
|
|
indexService.updateIndexData(this.getIndexName(), idValue, robotQuestionIndexBO);
|
|
|
}
|
...
|
...
|
|