-
Enhancement
-
Resolution: Fixed
-
P4
-
17, 18
-
None
-
b22
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.
[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.
- csr for
-
JDK-8283640 Allow multiple search terms in javadoc search
-
- Closed
-