localgov icon indicating copy to clipboard operation
localgov copied to clipboard

Add Search API Spellcheck ("Did you mean ...?") module to LGD core

Open markconroy opened this issue 1 year ago • 5 comments

On the Essex Send project, we added the Search API Spellcheck module, so if someone enters "autsim" the search result will suggest "Did you mean 'autism'?".

I think this is a great accessibility improvement for people whose reading age may be low, or may be don't have English as a first language, or may have dyslexia, etc. But it is something that I think all of our websites could benefit from, not just SEND websites.

markconroy avatar Aug 09 '23 11:08 markconroy

This would be great to add @markconroy

If you have time, could you do a PR? Many thanks!

Copying @stephen-cox

willguv avatar Sep 18 '23 10:09 willguv

Plus one from me! Should we put this in localgov_search, localgov_directories or both ?

Copying @ekes

finnlewis avatar Sep 18 '23 11:09 finnlewis

Sure we've discussed this before, but maybe it was just in slack. It's a solr thing. So it would be config and dependency on the appropriate solr modules.

ekes avatar Sep 18 '23 11:09 ekes

Oh, does this mean we can't easily progress it?

willguv avatar Sep 18 '23 11:09 willguv

We now have solr backend modules as well as db backend modules. So the point was it should be added as config and dependency for the solr backend module (when Finn was asking where to put it).

ekes avatar Sep 18 '23 12:09 ekes