Clarify lunr only searches documents in collections (#2450)
This commit is contained in:
parent
2d0b445634
commit
def3aaf229
1 changed files with 5 additions and 5 deletions
|
@ -533,7 +533,7 @@ To enable site-wide search add `search: true` to your `_config.yml`.
|
||||||
|
|
||||||
#### Lunr (default)
|
#### Lunr (default)
|
||||||
|
|
||||||
The default search uses [**Lunr**](https://lunrjs.com/) to build a search index of all your documents. This method is 100% compatible with sites hosted on GitHub Pages.
|
The default search uses [**Lunr**](https://lunrjs.com/) to build a search index of all post and your documents in collections. This method is 100% compatible with sites hosted on GitHub Pages.
|
||||||
|
|
||||||
**Note:** Only the first 50 words of a post or page's body content is added to the Lunr search index. Setting `search_full_content` to `true` in your `_config.yml` will override this and could impact page load performance.
|
**Note:** Only the first 50 words of a post or page's body content is added to the Lunr search index. Setting `search_full_content` to `true` in your `_config.yml` will override this and could impact page load performance.
|
||||||
{: .notice--warning}
|
{: .notice--warning}
|
||||||
|
|
Loading…
Reference in a new issue