Skip to content

support full text search #261

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

Closed
shaodahong opened this issue Apr 26, 2018 · 3 comments
Closed

support full text search #261

shaodahong opened this issue Apr 26, 2018 · 3 comments

Comments

@shaodahong
Copy link
Contributor

currently search only title?

@meteorlxy
Copy link
Member

meteorlxy commented Apr 26, 2018

Current SearchBox:

const matches = item => (
  item.title &&
  item.title.toLowerCase().indexOf(query) > -1
)

The $page value only store { path, title, frontmatter } now. The full text are stored in components.

Maybe the AlgoliaSearchBox will help.

@yyx990803
Copy link
Member

Use Algolia or build your own theme if you need full text search.

@jrappen
Copy link

jrappen commented Jul 2, 2018

Duplicate of #68

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

4 participants