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

feat: Introduce option maxHits: Show more or less than the default 5 hits when searching #132

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

JohannesDienst-askui
Copy link
Contributor

Introduce a new option maxHits. Before you had to go with the default 5 hits which was sometimes too few.

Now you can go with 7.

Usage

[
      require.resolve('docusaurus-lunr-search'),
      {
        maxHits: 7
      }

@praveenn77 praveenn77 merged commit 4f6b53e into praveenn77:main Dec 12, 2023
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.

2 participants