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

Add autocomplete functionality to Search API #109

Closed
aleayr opened this issue Nov 25, 2015 · 5 comments
Closed

Add autocomplete functionality to Search API #109

aleayr opened this issue Nov 25, 2015 · 5 comments

Comments

@aleayr
Copy link
Contributor

aleayr commented Nov 25, 2015

An site has stories requiring autocomplete functionality for the search feature. The Search API Autocomplete module would meet that requirement.

@fiasco
Copy link
Contributor

fiasco commented Dec 8, 2015

Sounds fine and sounds like the sort of thing we should do out of the box?

@fiasco fiasco added this to the 2.0 milestone Dec 8, 2015
@invisigoth
Copy link
Contributor

The autocomplete function provided by Solr could may not function in the same way most user would expect as for example Google.

For example, www.australia.gov.au is using this function and Acquia search. If you search "does australia" it suggests:

  • does australia
  • does australia will
  • does australia reports
  • does australia resource
  • does australia regional
  • does australia public
  • does australia releases
  • does australia private
  • does australia 2015
  • does australia rise
  • does australia section
  • does australia while
  • does australia privacy

Maybe we should consider offering a curated list of suggestions that can be easily controlled?

@invisigoth
Copy link
Contributor

On australia.gov.au, autocomplete suggestions are managed as a type of content and can be seeded through a CSV feed. This also allows content managers to put suggestions in categories (try entering "visa" on http://www.australia.gov.au/). My understanding is this feature is not difficult to be migrated to GovCMS and it also works with database search.

@pandaskii
Copy link
Contributor

Apache Solr 3.x "Suggester" ("autocomplete", also known as SuggestComponent) reuses much of the SpellCheckComponent infrastructure and based on [lucene suggest module](lucene suggest module).

This is why #138 and this discussion are on same page. IMO, spellcheck is a partial "Suggester"

"search autocomplete" on http://www.australia.gov.au/ is quite impressive, and we may take it into considerations.

@fiasco fiasco modified the milestones: 2.0, 7.x-2.7 Jul 18, 2016
@fiasco fiasco modified the milestones: 7.x-2.7, 7.x-2.8 Aug 17, 2016
@fiasco fiasco modified the milestones: 7.x-2.8, 7.x-2.9, 7.x-2.10 Aug 25, 2016
@aleayr
Copy link
Contributor Author

aleayr commented Oct 18, 2016

Given the issues with this functionality, I'm closing this issue.

@aleayr aleayr closed this as completed Oct 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants