SearchAnswer check if search only need answer
()
| 104 | |
| 105 | // SearchAnswer check if search only need answer |
| 106 | func (s *SearchCondition) SearchAnswer() bool { |
| 107 | return s.TargetType == constant.AnswerObjectType |
| 108 | } |
| 109 | |
| 110 | // Convert2PluginSearchCond convert to plugin search condition |
| 111 | func (s *SearchCondition) Convert2PluginSearchCond(page, pageSize int, order string) *plugin.SearchBasicCond { |
no outgoing calls
no test coverage detected