Skip to content

Conversation

@FrankYang6921
Copy link

resolve #159

  • /api/floors/search现在多返回一个字段highlighted_content,用<em></em>包裹content中的关键词
  • 默认让elasticsearch进行高亮(Search),如果elasticsearch不可用(SearchOld),执行简单的字符串匹配
  • 只是增加字段,应该不影响现有的前端(?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] 搜索高亮接口

1 participant