Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

excludeRoutes has no impact on index #133

Closed
erzz opened this issue Dec 18, 2023 · 3 comments
Closed

excludeRoutes has no impact on index #133

erzz opened this issue Dec 18, 2023 · 3 comments

Comments

@erzz
Copy link

erzz commented Dec 18, 2023

const config = {
 // stuff
  plugins [
   [
      'docusaurus-lunr-search',
      {
        languages: ['en'],
        highlightResults: true,
        maxHits: 8,
        excludeRoutes: [
          'docs/e2e-examples/**/*', // prefer workflows over e2e-examples
          'docs/v1/**/*', // prefer v2 over v1
        ],
      },
    ],
// stuff
}

Yet I still have results from those paths in my index and no matter what I set the paths to (even **/*) I see indexed 106 documents out of 157

@klauss194
Copy link

I have the same issue -> not sure how to fix it

@praveenn77
Copy link
Owner

new version published with fix 2.3.2

@erzz
Copy link
Author

erzz commented Jan 6, 2024

Much appreciated! Working perfect here!

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

No branches or pull requests

3 participants