# Search is broken in Javadocs with "undefined" in path

**URL:** https://discourse.hibernate.org/t/search-is-broken-in-javadocs-with-undefined-in-path/11648
**Category:** Site Feedback
**Created:** [July 15, 2025, 10:23am UTC](https://discourse.hibernate.org/t/search-is-broken-in-javadocs-with-undefined-in-path/11648 "2025-07-15T10:23:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![eccenux](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/eccenux/32/4074_2.png) [@eccenux](https://discourse.hibernate.org/u/eccenux)
#### Post date: [July 15, 2025, 10:23am UTC](https://discourse.hibernate.org/t/search-is-broken-in-javadocs-with-undefined-in-path/11648/1 "2025-07-15T10:23:49Z")

</div>

Steps:

- Open: [Overview (Hibernate JavaDocs)](https://docs.jboss.org/hibernate/orm/5.6/javadocs/)
- Search for: `HibernateException`
- Choose type from dropdown.
- This is opened: [https://docs.jboss.org/hibernate/orm/5.6/javadocs/undefined/org/hibernate/HibernateException.html](https://docs.jboss.org/hibernate/orm/5.6/javadocs/undefined/org/hibernate/HibernateException.html)

That might one of the reason why Google almost always points to HB 3.x or something like that.

Also it would be nice to be able to switch between HB versions. Like some other frameworks allow.

 ![obraz](https://canada1.discourse-cdn.com/flex035/uploads/hibernate/original/2X/6/64aa28edbe098f8bf1bd83263cda68192e7b01a5.png).

---

<div class="post-metadata">

### Author: ![yrodiere](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/yrodiere/32/1760_2.png) [@yrodiere](https://discourse.hibernate.org/u/yrodiere)
#### Post date: [July 23, 2025, 4:02pm UTC](https://discourse.hibernate.org/t/search-is-broken-in-javadocs-with-undefined-in-path/11648/2 "2025-07-23T16:02:09Z")

</div>

> Search is broken in Javadocs with “undefined” in path

Thanks for reporting. FYI we’re looking into this: [Public view of Hibernate | Zulip team chat](https://hibernate.zulipchat.com/#narrow/channel/132095-hibernate-infra/topic/Broken.20javadoc.20search/with/530338136)  
There’s a potential fix for 5.6 already: [fixes for 5.6 javadoc generation by sebersole · Pull Request #10611 · hibernate/hibernate-orm · GitHub](https://github.com/hibernate/hibernate-orm/pull/10611)

For the record, the root cause is a bug in the JDK. Which fortunately was solved since we last published Hibernate ORM 5.x.

> Also it would be nice to be able to switch between HB versions. Like some other frameworks allow.

I have no idea how to do that, but feel free to open a Jira issue with a suggestion of how to implement it: [Jira - Hibernate JIRA](https://hibernate.atlassian.net/browse/HHH)

I also have it on my todo list to create a page like this one, but for Hibernate ORM: [Documentation - Hibernate Search](https://hibernate.org/search/documentation/) . Unfortunately I didn’t manage to find the time yet – it’s more complicated than it seems, due to the large variety of documentation Hibernate ORM offers.
