-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Search Plugin Not Working #1400
Comments
Could u make it in Sandbox or ur site where it can be reproduced? |
here is my website https://ares-x.com/wiki/ password: qaxniubi |
Modify the search plugin to Change the path to English and try again. https://ares-x.com/wiki/_sidebar.md Refer to docsify's sidebar document. https://docsify.js.org/_sidebar.md |
According to the console information, I doubt that your files of ur site r too much to be stored in the |
maybe that's true , this problem doesn't happened on my mac , seem like only effect windows or mobile device? |
i delete a lot of contents , then work fine on windows device , so is there any way to solve this problem? |
see #1400 (comment) You can convert the path to English to reduce the occupation. |
|
I'm just suggesting, otherwise your url would be long. |
thanks for help |
Is the issue still exsit? |
after i changed search-min.js to search.js this problem seem doesn't exist i used chrome on my mac and win , macos works fine ,but windows has this problem, and i also told my friend to try it ,use firefox and chrome on his windows device , he also have this problem here is the old version to reproduce this bug |
It seems weird. 😅 thx again, we will check it and make sure what happened actually. cc @anikethsaha PTAL, I think there should have something needs be digged out. |
by the way , ios device still have this problem after changed to search.js |
yea....we need to have a look in it. |
weird, from which version this is happening ? |
IMHO, I think the problem since we set the |
https://github.com/wzpan/hexo-generator-search Maybe you can refer to this save all markdown file strings to a local xml file |
window.$docsify = {
loadSidebar: true,
....
} when If the content not in side bar‘s reference, they can't be searched. So strange. In my project, record it. https://anilople.github.io/find-spirit/#/ |
@Anilople You mean you can't search there? This one? If so, then it's fixed. |
Yes. Let me give more example. content can't be searchfind移动content can be searcheleworld |
fixed via #1391 |
My docsify version is Found that there is no code describe like #1391 |
Yes, the official version has not been released yet. You can try to build it yourself. |
This comment has been minimized.
This comment has been minimized.
@sy-records I noticed you cited a fix, and this issue is still open. I am getting a set of errors that appear extremely similar to those of this issue: docsify.min.js:1 Docsify plugin error TypeError: Cannot read properties of null (reading '/')
at VM6904 search.js:347:17
... lots more
VM6904 search.js:208 Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at search (VM6904 search.js:208:12)
at doSearch (VM6904 search.js:402:18)
at VM6904 search.js:440:49 Loading in the bare Object.keys(INDEXS).forEach(function (key) {
data = data.concat(Object.keys(INDEXS[key]).map(function (page) { return INDEXS[key][page]; }));
});
I've tried multiple Any help would be greatly appreciated! Thank you |
@CircArgs I didn't reproduce your question. If you're using GitHub Pages, you should try setting If you still have problems you can resubmit a new issue instead of replying here and I will close this. |
@sy-records Thanks for trying! I was testing on Brave. It seems it was a permission issue. Worked on Chrome. Thanks again. |
Bug Report
Steps to reproduce
fist time open docsify website , search plugin is working correct , after click some page , search-min.js throw error ,and search plugin not working any more , type something to search won't get any thing response
What is current behaviour
when open some page
type something to search
What is the expected behaviour
Other relevant information
Bug does still occur when all/other plugins are disabled?
Your OS:
Node.js version:
npm/yarn version:
Browser version:
Docsify version: newest
Docsify plugins: search
Please create a reproducible sandbox
Mention the docsify version in which this bug was not present (if any)
The text was updated successfully, but these errors were encountered: