Skip to content

Commit

Permalink
Merge pull request #41 from ConvivioTeam/remove-stopword-filter
Browse files Browse the repository at this point in the history
Remove stopword filter from Lunr index generation in middleman-search.
  • Loading branch information
jonathanglassman authored Aug 1, 2018
2 parents 253d780 + 2830748 commit 738fe6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/govuk_tech_docs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ def active_page(page_path)
content: { boost: 50, store: true },
url: { index: false, store: true },
}

search.pipeline_remove = [
'stopWordFilter'
]
end
end
end
Expand Down

0 comments on commit 738fe6f

Please sign in to comment.