SiteSearch

Adds global search capabilities to October CMS

Back to SiteSearch Support

natalie.fox36163
natalie.fox36163

Is it possible to speed up the search in any way? We have a few search terms that, when searching across two plugins (blog posts and news posts), bring back c. 7000 results and that takes approx. 14 seconds to load.

Any advice appreciated :)

OFFLINE
OFFLINE

What plugin contents are you searching? What are your blog and news plugins? Are you using RainLab.Translate as well?

natalie.fox36163
natalie.fox36163

Thanks for your reply. I'm not using Translate but using Rainlab blog and then an edited version of that for news.

OFFLINE
OFFLINE

7000 records won't be searchable with the current SiteSearch setup. The plugin provides an easy way to search contents without modifying the database.

The amount of data you have will need some changes to the database. For example, you should add a fulltext search index to the content and excerpt columns.

Then you can implement your own search provider that uses MySQL's fulltext search queries. You can copy the existing RainLabBlog search provider and simply override the postsFromDefaultLocale method.

Last updated

1-4 of 4