Skip to content

fix: replace broken search plugin with local search implementation#466

Open
PratikshaJ-16 wants to merge 2 commits intoneutralinojs:mainfrom
PratikshaJ-16:fix-search-plugin
Open

fix: replace broken search plugin with local search implementation#466
PratikshaJ-16 wants to merge 2 commits intoneutralinojs:mainfrom
PratikshaJ-16:fix-search-plugin

Conversation

@PratikshaJ-16
Copy link
Copy Markdown

Fix: Search bar not working in development

Problem:

The search bar in the navbar was not functioning correctly:

  • Clicking showed no results
  • Displayed "Loading..." or inactive state
  • Search plugin (docusaurus-lunr-search) was not working properly

##Solution:

  • Replaced the existing search plugin with a maintained alternative:
    @easyops-cn/docusaurus-search-local
  • Updated docusaurus.config.js to integrate the new plugin
  • Installed and configured the plugin for proper indexing

Testing:

  • Verified search functionality locally using:
    • npm start (dev mode)
    • npm run build + npm run serve (production mode)
  • Search results now appear correctly and are interactive

Impact:

  • Fixes broken search UI in navbar
  • Improves user experience and navigation
  • Ensures reliable local search functionality without external services

Uploading Screenshot 2026-03-28 172339.png…

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