Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

What does core search support?


Go to End


2 Posts   1094 Views

Avatar
RaulHarness

Community Member, 1 Post

16 December 2016 at 10:19pm

When enabling full text search with MySQL what data is indexed and searchable?
Are pages that inherit from SiteTree searchable? If so what fields etc?
Is it possible to add custom fields to be indexed?

Avatar
Michael J James

Community Member, 8 Posts

23 December 2016 at 11:20am

Hi @RaulHarness,

I believe Silverstripe uses all the columns in the SiteTree_Live table for search.

So i would say the best option is to override the results function in your Page_Controller and write your own query to search for your custom fields

Thanks
Michael