vuejs / vuepress

📝 Minimalistic Vue-powered static site generator
https://vuepress.vuejs.org
MIT License
22.58k stars 4.76k forks source link

Full text search #385

Closed thomask77 closed 6 years ago

thomask77 commented 6 years ago

For an internal project, I need a full-text search function that is not based on an external search provider. The built-in "headers only" search is not enough.

A lot of other static site generators (e.g. gitbook) use "lunrjs".

Can this feature be added to vuepress?

hmatalonga commented 6 years ago

I suppose this will eventually be implemented, since it was request previously, perhaps as a plugin (when the plugin API is live). At the moment, the solution would be to create a custom theme to implement that like mentioned here #261

ulivz commented 6 years ago

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).

meteorlxy commented 6 years ago

Duplicated #261

jrappen commented 6 years ago

Duplicate of #68

jrappen commented 6 years ago

@ulivz just to clarify, would @vuepress/plugin-pwa mentioned in #815 enable full text search across the whole site or be limited to visited pages?

If so, maybe you could:

klarkc commented 5 years ago

Any update on this?