Currently it's possible to search in the pages/blog only with the latest version. It's not obvious for a user to go to the latest version to find information in the pages/blog.
One way that this could be achieved is using the lunr.Query.presence.PROHIBITED field from lunr:
Thank you for your detailed explanation and blueprint for the solution! This indeed was quite the confusing behavior and has been fixed in version 0.5.0. :tada:
Currently it's possible to search in the pages/blog only with the latest version. It's not obvious for a user to go to the latest version to find information in the pages/blog.
One way that this could be achieved is using the
lunr.Query.presence.PROHIBITED
field from lunr:And not link the pages and the blog to the latest version while creating the index, keep it as undefined: