Skip to content

Search: filtering does not remove chapters that contain search-term stem words #734

@kellobri

Description

@kellobri

When searching for the word "Authorization" in the RStudio Connect User Guide (testing under bookdown 0.11) the filtering mechanism includes chapters that contain the word "Author" as well as "Authorization".

In this example, only chapters 4, 5 and 14 contain the full word "Authorization". The search will still take you through all of the returned chapters, it does not highlight any words in those chapters.

Screen Shot 2019-06-26 at 6 55 53 PM

This could be a confusing experience or unexpected result for a bookdown search user.


By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.name/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('bookdown'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/bookdown').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementnextto consider for next release

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions