Skip to content

Commit

Permalink
Always use pipeline in search (#1311)
Browse files Browse the repository at this point in the history
(cherry picked from commit da5ab92)
  • Loading branch information
visr authored and mortenpi committed May 5, 2020
1 parent cfb3324 commit 832c92c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Documenter.jl changelog

## Version `v0.24.11`

* ![Bugfix][badge-bugfix] Some sections and page titles that were missing from the search results in the HTML backend now show up. ([#1311][github-1311])

## Version `v0.24.10`

* ![Enhancement][badge-enhancement] The `curl` timeout when checking remote links is now configurable with the `linkcheck_timeout` keyword. ([#1057][github-1057], [#1295][github-1295])
Expand Down Expand Up @@ -549,6 +553,7 @@
[github-1293]: https://github.com/JuliaDocs/Documenter.jl/pull/1293
[github-1295]: https://github.com/JuliaDocs/Documenter.jl/pull/1295
[github-1299]: https://github.com/JuliaDocs/Documenter.jl/pull/1299
[github-1311]: https://github.com/JuliaDocs/Documenter.jl/pull/1311

[documenterlatex]: https://github.com/JuliaDocs/DocumenterLaTeX.jl
[documentermarkdown]: https://github.com/JuliaDocs/DocumenterMarkdown.jl
Expand Down
4 changes: 2 additions & 2 deletions assets/html/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,14 @@ $(document).ready(function() {
q.term(t.toString(), {
fields: ["title"],
boost: 100,
usePipeline: false,
usePipeline: true,
editDistance: 0,
wildcard: lunr.Query.wildcard.NONE
})
q.term(t.toString(), {
fields: ["title"],
boost: 10,
usePipeline: false,
usePipeline: true,
editDistance: 2,
wildcard: lunr.Query.wildcard.NONE
})
Expand Down

0 comments on commit 832c92c

Please sign in to comment.