I have implemented the following code into my config file:
FulltextSearchable::enable(array('SiteTree'));
But when I perform a search it is still bringing up Files with direct links to the pdf in the results.
I'm running 2.4.6.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
I have implemented the following code into my config file:
FulltextSearchable::enable(array('SiteTree'));
But when I perform a search it is still bringing up Files with direct links to the pdf in the results.
I'm running 2.4.6.
Nope. I've tried option 1 - FulltextSearchable::enable(array('SiteTree')); and done a /dev/build and files are still showing up in the search results.