Vuepress: Full text search

Created on 9 May 2018  路  6Comments  路  Source: vuejs/vuepress

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?

Most helpful comment

@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:

  • re-open this issue
  • extend the pull request description of #815 to make it close this issue as well as #68 and #261 when merged
  • add info to the docs on next branch

All 6 comments

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

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

Duplicated #261

Duplicate of #68

@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:

  • re-open this issue
  • extend the pull request description of #815 to make it close this issue as well as #68 and #261 when merged
  • add info to the docs on next branch

Any update on this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cfjedimaster picture cfjedimaster  路  3Comments

herrbischoff picture herrbischoff  路  3Comments

AleksejDix picture AleksejDix  路  3Comments

higuoxing picture higuoxing  路  3Comments

alinnert picture alinnert  路  3Comments