timlrx / pliny

Create content rich websites with ease - built on next.js, contentlayer and tailwindcss
MIT License
293 stars 42 forks source link

Can SearchProvider support searching for article content rather than just titles #167

Closed jiangxiaoyu66 closed 2 months ago

timlrx commented 5 months ago

Hmm it should be possible - have to check on the performance . My concern is that it might take to long to load an search the index.

timlrx commented 5 months ago

Take a look at https://github.com/timlrx/tailwind-nextjs-starter-blog/blob/main/faq/customize-kbar-search.md for a more detailed write-up on the modifications required. The gist is that you can pass the entire content as the keywords.