docfx
docfx copied to clipboard
Search does not find anything
Operating System: (Windows
or Linux
or MacOS
)
Windows
DocFX Version Used: docfx 2.59.2.0 / docfx.console 2.59.2
Template used: (default
or statictoc
or contain custom template)
default
Steps to Reproduce:
- Add
"_enableSearch" : "true"
to globalMetadata - Build and start Project with
docfx build docfx.json --serve
OR using the nuget package to build, then serve - Search in the upper right for a function name, like ValidatePhoneNumber or ValidatePhoneNumber*
Expected Behavior:
Something shows up when searching, eg. a method name.
Actual Behavior: The Console logs "using Web Worker", however, the search results do not show up, instead the circle is just spinning around , but doesn't find anything.
@schattennarr Check the browser debug console and report any error message.
Hi @paulushub
I am facing the same issue but my docfx versions is 2.57.2
After typing some query to the search field, the following error is shown in the console:
and loading indicator is spinning infinitely.
@ukrainec45 I could not reproduce it. Please try and see if you can reproduce it on the DocFX's own documentations:
https://dotnet.github.io/docfx/
I investigated this issue, it wasn't related to docfx but with lunr library version.