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

Allow multiple search terms in javadoc search

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 17, 18
    • tools
    • None

      The current javadoc search implementation (specified in [1]) requires users to enter a single search term that matches the verbatim signature or name of the indexed elements. If a search term crosses hierarchical boundaries such as between package and class or members and parameter types, the delimiters such as `.` or `(` must be included in the search input. This means that for complex searches users must already have a somewhat concrete idea of what they are looking for.

      [1]: https://docs.oracle.com/en/java/javase/17/docs/specs/javadoc/javadoc-search-spec.html

      The search mechanism could be improved by not requiring the user to reproduce the name or signature of the Java element in the search query, but rather allow them to enter multiple search terms separated by space character to be matched loosely against element names and signatures. The old way of searching in a more verbatim style should still be available.

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

              Created:
              Updated:
              Resolved: