Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Add Search API spellcheck. #138

Closed
wants to merge 1 commit into from
Closed

Add Search API spellcheck. #138

wants to merge 1 commit into from

Conversation

stooit
Copy link
Contributor

@stooit stooit commented Jan 7, 2016

This (combined with Acquia Search) allows us to provide 'Did you mean...?' functionality via Search API pages or views.

Demo environment to follow.

@govCMS-bot
Copy link

The pull request environment has been successfully built.

Visit PR environment here: http://138.govcms.xyz/

@stooit
Copy link
Contributor Author

stooit commented Jan 7, 2016

Demo environment details:

Search page configured against Acquia Search with spellcheck enabled:

  • http://138.govcms.xyz/search-solr
  • attempt a search for misspelled text (found across any fulltext indexed field), e.g:
    • amnisty /amnsty / etc (will suggest "amnesty")
    • boots / bots / bouts etc (will suggest "boats")
    • any other words found in the title or body of pages should return relevant 'did you mean' results

This functionality requires Solr, it will not function with the 'out of the box' database index.

@invisigoth
Copy link
Contributor

Depending on how Solr is configured and the content in your index, this function could potentially be more confusing than offering useful suggestions. For example, searching "bike shed" will suggest "fire said" and misspelled "bike ched" will suggest "fire them". This relates to issue #109.

@fiasco
Copy link
Contributor

fiasco commented Apr 14, 2016

This pull request needs to be re-submitted against the 7.x-2.x branch as the master branch has been removed per #226

Apologies for the inconvenience.

@ElviaMaschke
Copy link

I just want to know how Solr runs a search query and if it is using Australia english or US, UK??

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants