I'm working on Search API Spellcheck module here:
http://drupal.org/sandbox/JoeMcGuire/1150950

For Search API Views I was able to add the support from the Search API Spellcheck module by providing another field which can be added to a View's header or footer.

I haven't found a way to extend the Search API Page module so instead I have attached a patch for the module. This allows the page module to include "did you mean ..." based on the Spellcheck module being installed and the server/service supporting it.

There are patches in for both Solr and Xapian, see the sandbox page above for their statuses.

Let me know what you think.

CommentFileSizeAuthor
search-api-page-spellcheck.patch3.95 KBJoeMcGuire
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drunken monkey’s picture

Looks good to me, thanks!
Note that hooking into search page searches and executing drupal_set_message() would probably have been possible, too – but this seems to me the better approach.

Anyone else want to comment?

JoeMcGuire’s picture

I've got a recommended release it works with now on a full project page
http://drupal.org/project/search_api_spellcheck

drunken monkey’s picture

Title: Pages support for Search API Spellcheck » Search API Spellcheck support for Pages
Status: Needs review » Fixed

Just committed this, thanks again!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.