I receive the following error when trying to enable Autocomplete feature for a Search index.

There are currently no suggester plugins installed that support this index. To solve this problem, you can either:
move the index to a server which supports the "search_api_autocomplete" feature (see the available service class)
or install a module providing a new suggester plugin that supports this index

Using the below modules:

search_api 8.x-1.0-beta4
search_api_solr 8.x-1.0-beta1
search_api_pantheon 8.x-1.0-alpha2
search_api_page 8.x-1.0-alpha11+5-dev
search_api_autocomplete 8.x-1.0-alpha1+5-dev

What am I doing wrong?

Thanks,

Comments

Anonymous’s picture

zptoth created an issue. See original summary.

Anonymous’s picture

Red through all the below issues but could not understand what I have overlooked.

https://www.drupal.org/node/2800755
https://www.drupal.org/node/2818317
https://www.drupal.org/node/2790249
https://www.drupal.org/node/2700691
https://www.drupal.org/node/2682949
https://github.com/dawehner/search_api_autocomplete

Not sure how a 'suggester plugin' should be added. It says 'install a module providing a new suggester plugin that supports this index' but which module fits here?
https://github.com/dawehner/search_api_autocomplete contains some hints under section 'Information for developers' but I do not understand what needs to be done exactly.
Does this work at all with Solr backend out of the box without any patch applied? Could not really understand from the referred threads.

Thanks,

Anonymous’s picture

Forgot to mention.
This is working a Pantheon Solr environment.
Server is up and running, connection is live, index available, searching works.

Anonymous’s picture

Status enabled (disable)
Backend class Solr
Search indexes
mmm-index-0001
Solr connector plugin Pantheon
Solr server URI https://10.xxx.xxx.xxx:449/sites/self/environments/dev/index/
Solr core URI https://10.xxx.xxx.xxx:449/sites/self/environments/dev/index/#/
Server Connection The Solr server could be reached.
Core Connection The Solr core could be accessed (latency: 19.218967987061 ms).
Configured Solr Version 3.6.2.2012.12.18.19.52.27
Detected Solr Version 3.6.2.2012.12.18.19.52.27
Indexed 1 items
Delay 2 min before updates are processed.
Schema drupal-4.4-solr-4.x
Solr Core Name fead2d40-xxxx-xxxx-xxxx-51a046382cc6-dev

sun-fire’s picture

The same issue with latest Dev release.

Solr configuration:

Configured Solr Version 5.5.2
Detected Solr Version 5.5.2
Indexed 8 items (13.04 KB on disk)
Delay 2 min before updates are processed.
Schema drupal-4.4-solr-5.x

Anonymous’s picture

We might just miss a step that is not fully clear based on the documentation.

See https://github.com/dawehner/search_api_autocomplete for details.

Information for developers
--------------------------

- Supporting a new method of creating suggestions

You can add your own implementation for creating autocomplete suggestions by
creating a so-called "suggester" plugin. For details, see the interface
documentation in src/AutocompleteSuggesterInterface.php.

- Supporting autocompletion with a backend plugin

To support autocompletion with a backend plugin, the plugin has to support the
"search_api_autocomplete" feature. This will necessitate the backend class to
have a getAutocompleteSuggestions() method as detailed in the interface in
src/SearchApiAutocompleteInterface.php.

- Supporting autocompletion on a search form

If you have a search form not generated by the Search views or Search pages
modules, you can add a autocomplete type plugin to support autocompletion for
it. See src/AutocompleteTypeInterface.php for the plugin type documentation, or
src/Plugin/search_api_autocomplete/AutocompleteType/ for examples.

Anonymous’s picture

Anyone from the maintainers planning to pick this up?

Thanks,

Anonymous’s picture

This issue hasn't even been assigned to any of the maintainers within a week.
Please consider changing Maintenance status to Minimally maintained as the issue queue is clearly not monitored actively.

Anonymous’s picture

Just had a chat with Pantheon Support. They are suspecting the Pantheon Solr version as the root cause of the issue.
They are using 3.6.2... that is rather outdated. However @sun-fire experiences the same error with version 5.5.2.
Might worth give a try to an external Solr provider or an own Solr server.

a.hover’s picture

I am having the same issue running Solr version 4.10.2 via a VM. Solr seems to be functioning fine and Search API is all setup and working. I am getting the same message as @zptoth is in the initial post ("There are currently no suggester plugins installed that support this index...").

Edited to add versions:

  • Search API: 8.1.0-beta4
  • Search API Solr: 8.1.0-beta1
  • Search API Autocomplete: 8.1.0-alpha1
Anonymous’s picture

Will give a try this night or tomorrow with multiple Solr providers.

Anonymous’s picture

Solution is easy as hell.
Support for autocompletion is included in search_api_solr 8.x-1.x-dev but not included in search_api_solr 8.x-1.0-beta1
Just upgrade Search API Solr Search module to dev version and you will be fine.
Tested with Solr versions 6.1.0 by Measured Search and 3.6.2 by Pantheon.

- got to it when I got to it.

[SOLVED]

Anonymous’s picture

Status: Active » Closed (works as designed)