diff --git a/lib/govuk_tech_docs.rb b/lib/govuk_tech_docs.rb index d58e6ca0..2db0dee9 100644 --- a/lib/govuk_tech_docs.rb +++ b/lib/govuk_tech_docs.rb @@ -106,6 +106,8 @@ def active_page(page_path) search.pipeline_remove = [ 'stopWordFilter' ] + + search.tokenizer_separator = '/[\s\-/]+/' end end end