drupal-graphql / graphql-search-api

GraphQL & Drupal Search API integration.
10 stars 22 forks source link

Add spellcheck support. #47

Open defr opened 3 years ago

defr commented 3 years ago

This takes the approach to make it as simple as possible to get spellcheck suggestions on the query, by only adding a boolean to the query parameters and automatically forwarding the full text search keys to Search API. There's also at most one result returned for each search term.

Setting the option when using a search backend that doesn't support spellcheck will only lead to no spellcheck result being returned.

Sylry commented 3 years ago

+1

smavri-axess commented 5 months ago

+1