-
Notifications
You must be signed in to change notification settings - Fork 85
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
Does search requires build? #123
Comments
Currently, yes, it requires build. |
How to do that?
Unfortunately, my search bar is saying: |
OK, I found a solution. docusaurus-search-local is a fork of docusaurus-search-local there we can find info: "Search does not work in development (i.e., when running yarn start)." >> https://github.com/cmfcmf/docusaurus-search-local So, if you want run a search, you can:
In my example, I am using docusaurus app on image: awesometic/docusaurus. The proper setup to re-run container is like this: docker run -d --name=docusaurus I hope this could help someone in the future. |
The command you were looking for is |
@Anthony-Gaudino all local search plugins needs to be build. The sites need to be scanned first and an index being build. This is a given no matter what type of search you have. The only difference between local and online search engines is, that they do this asynchronously. But usually results are not available immediately. |
|
In my case the search is showing no results. I followed the steps below:
Now, the search bar is also visible and the The DEBUG logs are also not showing any errors. |
This issue should be marked closed since the original poster's question has been answered. @kdb13, I have opened a new issue for the empty results bug; feel free to add to it. |
Closing this, see discussions in facebook/docusaurus#8283 |
having same issue with my setup too |
There are other Docusaurus search plugins that only work when the website is built, does this one also requires that the website is built for it to work?
The text was updated successfully, but these errors were encountered: