Вопрос

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