문제

Using Solr:

  • I was able to highlight matched terms in a query
  • I was able to implement the spellcheck component: Did you mean: collation?

Is it possible to highlight the corrected/suggested word in the spellcheck?
example: https://www.google.com/search?q=I+have+fevert it returns: I have fever

도움이 되었습니까?

해결책

Solr itself doesn't support this. It is something you can handle in the client.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top