-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Offline Search Option #466
Comments
Hi @sheldonhull. I have not added an offline search provider. But I imagine you could follow https://lunrjs.com/guides/getting_started.html and do some stuff in siteConfig.js to add it. And then maybe mimic how we add Algolia to the header links bar for Lunr? |
Thanks! I ended up sticking with Mkdocs as I had an easier time using what was already built in. Just was a better fit for what I already knew how to use. You guys have a great project though, thanks for the hard work! |
@sheldonhull do you have solved this problem? my website is only for company-internal network,so the recommend |
This would be an awesome feature |
I would love this feature as well |
This would be a great addition! |
+1 |
+1 Doubt we'll ever see this feature, though. |
@KerimG I wouldn't say never. It is on on our v2 roadmap. |
+1 for offline search using lunrjs or similar. We are using Docusaurus for internal company documentation and therefore cannot use default Algolia search. Ability to search through markdown files would be a great add on to the current version. |
+1 |
I have implemented, search with Elastic lunar and node js for one of our internal sites. I will share the code tonight. That may be helping. |
Just as an FYI - @sbansal3096 is working on this as part of #776. This is actually a duplicate issue. Please follow #776 for updates. |
Algolia search system is a deal-breaker for us. |
I created an offline search plugin that looks similar to algolia search using lunr.js Check it out .. Live Demo is available at https://lelouch77.github.io/docusaurus-lunr-search-demo/ |
@lelouch77 thank you very much for this plugin, I succeed integrating it on my docusaurus v2 project in a minute. |
Not working for me, I get a:
|
@joan38 Did you find a fix for the |
@joan38 @GustavoAngulo Seems there some issues including node module in plugin with new version of docusaurus, just change your
|
Is this a bug report?
no
Offline search functionality
Has anyone successfully implemented Lunr.js or another offline based search provider? I'm looking to create a offline static documentation site, and can't grant a web crawler the ability to index. I need to leverage something offline like Lunr, solr, or another option, but haven't done that before. Is this a possible enhancement, or anyone successfully done this and willing to share how to do it?
The text was updated successfully, but these errors were encountered: