Skip to content

Conversation

@schilkp
Copy link
Contributor

@schilkp schilkp commented Jan 17, 2026

Previously, all search index styles manually gathered items which should be included from the Library. This lead to subtly different inclusion rules. For instance, the elasticlunr search index would include the sub-pages of redirect sections, while fuse did not.

This patch centralizes the collection into a single routine which is used for all search indices, making sure they behave the same.

This replaces #3079.


IMPORTANT: Please do not create a Pull Request adding a new feature without discussing it first.

The place to discuss new features is the forum: https://zola.discourse.group/
If you want to add a new feature, please open a thread there first in the feature requests section.

Sanity check:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Code changes

(Delete or ignore this section for documentation changes)

  • Are you doing the PR on the next branch?

Previously, all search index styles manually gathered items which should
be included from the Library. This lead to subtly different inclusion
rules. For instance, the `elasticlunr` search index would include the
sub-pages of redirect sections, while `fuse` did not.

This patch centralizes the collection into a single routine which is
used for all search indices, making sure they behave the same.
@schilkp schilkp force-pushed the schilkp/fuse_redirect_subpages branch from 3520308 to 0212300 Compare January 17, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant