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

Improve Javadoc search feature and add test coverage

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 13
    • None
    • tools
    • b19
    • generic
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: