I am not familiar with Antora (or do much frontend dev for that matter), so take what I say with a grain of salt, but what I imagine could address this concern is you select a solr version (it's fine if we restrict it to just 9.x versions) and the search bar is aware and searches just within that version. I imagine this could be an index pre-filter, but I don't know how difficult that would be to implement
From: dev@solr.apache.org At: 07/20/25 13:19:46 UTC-4:00To: dev@solr.apache.org Subject: Re: Solr ref guide older version search Only the Ref Guide versions 9.0 and later are on Antora, so only 9.x versions can be searchable, just to be clear. (To make 8.x and earlier searchable, the entire Antora framework would need to be backported and the Ref Guide republished. In the past, this was more work than it seemed to warrant.) The limitation to only search the current version was done on purpose: https://github.com/apache/solr/pull/845 as multiple versions apparently caused confusing search results. If revisiting the question, probably the cause of the confusion should also be addressed. Cassandra On Jul 16, 2025 at 4:38:01 PM, Houston Putman <hous...@apache.org> wrote: > That would be awesome. It's all antora with an extension called lunr. So > see if they support something like that. > > - Houston > > On Wed, Jul 16, 2025 at 1:38 PM Kevin Liang (BLOOMBERG/ 919 3RD A) < > klian...@bloomberg.net> wrote: > > Just highlighting a quirk with the solr ref guide that maybe should be > > fixed? The search box only finds results for the latest version of Solr, > > however if you are on any page and change the version to an older version > > via the upper-left dropdown it will redirect you back to the homepage. At > > best it means that searching for older documentation means you have to > > modify the url to get where you want after searching, at worst it means > > that you cannot search text from older pages. > > > Perhaps one (or both) of these solutions would be helpful: > > > 1. Search box is version-aware > > > 2. Changing version of the ref guide keeps you on the same page you're > > currently on (if it exists for that version) > > > -Kevin > >