Skip to content

Built in search can not find some strings #5640

@mpkorstanje

Description

@mpkorstanje

The built in search on docs.junit.org isn't able to find exact text matches, or if it does the results are incomplete. This is mildly annoying because this information should be easily discoverable and lowers the trust in the built in search function.

The current workaround, to switch the view to "Single Page" and then using the built in browser search works well enough.

Steps to reproduce (A)

  1. Go to https://docs.junit.org/6.0.3/
  2. Search for junit.platform.stacktrace.pruning.enabled
  3. Observe the message No results found for query "junit.platform.stacktrace.pruning.enabled"
  4. Go to https://docs.junit.org/6.0.3/running-tests/stack-trace-pruning.html
  5. Observe that property is documented.

Steps to reproduce (B)

  1. Go to https://docs.junit.org/6.0.3/
  2. Search for org.junit.jupiter.api.Assumptions
  3. Observe a single result found for https://docs.junit.org/6.0.3/migrating-from-junit4.html#tips
  4. Go to https://docs.junit.org/6.0.3/writing-tests/assumptions.html
  5. Observe that the assumptions class is referenced elsewhere.

Deliverables

  • A better search?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions