question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Search doesn't index

See original GitHub issue

Bug Report

Steps to reproduce

Create three MD files, enable the sidebar, enable search, and observe that search doesn’t work.

https://codesandbox.io/s/fervent-almeida-1p5us?file=/index.html

What is current behaviour

docsify.search.index only contains content for a.md and b.md/c.md was not parsed into the index:

{
"/a":{"#/a?id=hn2":{"slug":"#/a?id=hn2","title":"HN2","body":"HN3\nHello A"}},
"/b":{},
"/c":{}
}

Using Chrome incognito is even worse, not even a.md is searchable.

What is the expected behaviour

The index should properly contain all pages to be able to perform a search.

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS: Mac / Chrome

  • Docsify version: latest

  • Docsify plugins: search.min.js

Please create a reproducible sandbox

https://codesandbox.io/s/fervent-almeida-1p5us?file=/index.html

Mention the docsify version in which this bug was not present (if any)

N/A

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
sy-recordscommented, Feb 5, 2021

https://codesandbox.io/s/modern-wind-hm6wn

@Jir4 Your problem will be fixed in the next version

image

1reaction
Jir4commented, Feb 4, 2021

It’s still not possible to find something in a list : https://codesandbox.io/s/sparkling-cdn-v87gl

For example you can search “object” on your sandbox and on mine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is my page missing from Google Search? - Google Support
The page may have been dropped or omitted from the index for totally innocuous reasons. (The web is immense, and Google doesn't get...
Read more >
Fix problems in Windows Search - Microsoft Learn
Check for updates · Run the Search and Indexing troubleshooter · Restart Windows Search or your device · Reset Windows Search · Help...
Read more >
How to Fix Windows 10 Search Index - groovyPost
Scroll down, select Search and Indexing, click Run the troubleshooter, complete the wizard, then restart. Then check to see if your search ......
Read more >
Why Is Windows 10 Search So Bad? Here Is How To Fix It
Finding the indexing options; Specifying locations; Rebuilding your index ... The problem is that Windows Search does not always work.
Read more >
[Solved] File Explorer Search Not Working in Windows 10
Fix 4: Allow Files to Have Contents Indexed ... Sometimes, there might be no search results because the involved drive doesn't allow indexing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found