The new Search API autocomplete module (by myself, so a standards-setting masterpiece) allows to add autocompletion functionality to search forms, if the server supports it.
This issue is about adding said support for Solr servers. See the attached patch.

CommentFileSizeAuthor
search_api_autocomplete.patch9.22 KBdrunken monkey

Comments

klausi’s picture

Status: Needs review » Reviewed & tested by the community

Great, the feature works for me. Just a minor code style issue:

+++ b/service.inc
@@ -982,6 +983,217 @@ class SearchApiSolrService extends SearchApiAbstractService {
+
+            // The $count in this array is actually a score. We want the highest ones first.

comment exceeds 80 character line width.

Powered by Dreditor.

drunken monkey’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for reviewing! Committed.

comment exceeds 80 character line width.

Ah, that's what you get for stealing code …

Status: Fixed » Closed (fixed)

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