Skip to content

Requires additional hook? #7

@stankut

Description

@stankut

First of all, thank you for your contribution.

Secondly i have had some problems with this module and it only started working after i have added new hook in my custom module.

function MYMODULE_search_api_solr_query_alter(\Solarium\Core\Query\QueryInterface $solarium_query, \Drupal\search_api\Query\QueryInterface $query) {
  $solarium_query->addParam('spellcheck', 'on');
}

Is there something i missed while configuring it, or it does not work by itself?

Thirdly, are you planning to add it to contrib modules? The spelling suggestions is something many people might need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions