Skip to content
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

Full-text search #68

Closed
jrappen opened this issue Apr 16, 2018 · 5 comments
Closed

Full-text search #68

jrappen opened this issue Apr 16, 2018 · 5 comments

Comments

@jrappen
Copy link

jrappen commented Apr 16, 2018

Maybe it would be possible to not use Algolia document search, but a custom search built-in?

Compare:

https://github.com/QingWei-Li/docsify

Otherwise search wouldn’t work for a company Intranet.

@egoist
Copy link
Contributor

egoist commented Apr 16, 2018

VuePress comes with built-in headers-based search - it automatically builds a simple search index from the title, h2 and h3 headers from all the pages.

https://vuepress.vuejs.org/guide/basic-config.html#config-file

@sinaa
Copy link

sinaa commented May 6, 2018

While I appreciate that vuepress has both options of "built-in header-search" and "Algolia search for fulltext", I agree with the issue author that having also a built-in fulltext search would be an excellent addition (for example, MKDocs and Gitbook have this feature).

Internal/private documents would enormously benefit from this (and this would make Vuepress an excellent choice for such cases).

@jrappen jrappen changed the title Search Full-text search May 14, 2018
@jrappen
Copy link
Author

jrappen commented May 14, 2018

@yyx990803 Would you consider re-opening this?

This was referenced Jul 2, 2018
@jrappen
Copy link
Author

jrappen commented Jul 2, 2018

@ulivz wrote an explanation why it's currently not implemented here: #385 (comment)

Since all pages are loaded on demand, so full text search will make it meaningless.

So we won't plan to implement it at default theme, but maybe it can be done by a plugin in the future (Maybe v1.0.0).

@ynnelson
Copy link
Contributor

#1557 I added tags support and multi-word search, not the whole nine yard but a small improvement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants