docusaurus-lunr-search icon indicating copy to clipboard operation
docusaurus-lunr-search copied to clipboard

Feature request: Docusaurus /search page, like the equivalent algolia plugin

Open runonthespot opened this issue 3 years ago • 4 comments

The Algolia plugin also has, at the bottom of the search ('Click here to see the rest of the results (n....results)')

Clicking this takes you to yoursite.com/search which is a more standard search page. Would it be possible to create a version of this that works with Lunr, because currently your search only shows 5 results and sometimes that's not enough.

runonthespot avatar Aug 25 '21 11:08 runonthespot

+1 from me too. The use-case is migrating an old documentation project over to Docusaurus. All of our old documentation links are now broken because they look different under Docusaurus. Rather than 404ing those visitors I'd like to run a search on the path they tried to hit e.g. example.org/search?q=/foo/bar.html. Obviously the search term would be cleaned up a bit too.

In this case it's not actually important that there's a separate results page; the relevant part is being able to search via the URL.

bennullgraham avatar Nov 11 '21 01:11 bennullgraham

This Plugin https://github.com/easyops-cn/docusaurus-search-local has see all results option. Here's the demo : https://easyops-cn.github.io/docusaurus-search-example/

fawazahmed0 avatar Nov 16 '21 23:11 fawazahmed0

How do I bump this request? It would be great to have it without the need to install additional plugins

maurom88 avatar Jun 01 '22 15:06 maurom88

This would be highly appreciated

peirstom avatar Jun 03 '22 07:06 peirstom