Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8220497

Improve Javadoc search feature and add test coverage

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b19
    • CPU:
      generic
    • OS:
      generic

      Description

      Working on JDK-8178982 we found a few shortcomings in the current search feature in Javadoc, and a came up with a few ways to improve it. These will be defined in detail in a new spec produced as part of JDK-8178982. Here is a short summary of changes:

       - Match against word boundaries instead of anywhere in a name, e.g. `in` will match `invoke` but not `print`
       - Allow search to go all the way from package name to member name
       - Allow partial/camel case style matches anywhere, e.g. `j.l.Obj.e` will match `java.lang.Object.equals(Object)`
       - Try to provide better ranking of results and suppress peripheral matches
       - Implement and add tests to verify search works as intended by executing the actual browser search script

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hannesw Hannes Wallnoefer
              Reporter:
              hannesw Hannes Wallnoefer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: