Search results will no longer disappear and reappear again as a user is typing a word in.
Fixes #222.
Fix
This problem had already been identified in the Design System website, see commit alphagov/govuk-design-system@531d3c3. Thanks @36degrees for flagging that this fix existed.
The fix is to remove the stemmer from the lunr pipeline. This is easily done with the fork of middleman-search that the tech-docs-gem uses.
This commit also adds a simple test to prevent future changes breaking this functionality.
Search results will no longer disappear and reappear again as a user is typing a word in.
Fixes #222.
Fix
This problem had already been identified in the Design System website, see commit alphagov/govuk-design-system@531d3c3. Thanks @36degrees for flagging that this fix existed.
The fix is to remove the stemmer from the lunr pipeline. This is easily done with the fork of middleman-search that the tech-docs-gem uses.
This commit also adds a simple test to prevent future changes breaking this functionality.