Skip to content

Lunr search results missing content #1663

Answered by mmistakes
adamdmharvey asked this question in Q&A
Discussion options

You must be logged in to vote

Lunr search only indexes collection documents e.g. posts or any custom collections you have. It does not currently index site.pages which is why you're not seeing those in search results.

I'd suggest using Jekyll Algolia instead since it's indexing is way more powerful and performant than what the theme has with Lunr.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mmistakes
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@chrisjameslennon
Comment options

Comment options

You must be logged in to vote
2 replies
@rdmueller
Comment options

@chrisjameslennon
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #1663 on December 09, 2020 03:36.