@heggsta i'm trying to find the right code for to enable the search in _config file, like for example FulltextSearchable::enable();, does this work on SS4? or has that changed?
in one of your config (
- - SilverStripe\ORM\Search\FulltextSearchable
https://github.com/vulcandigital/silverstripe-search theres that if you want more flexibility, depends on ur use case though
not exactly plug and play but useful if you want to search more than just
@heggsta have tired using the code you provided, getting error when dev/build, saying server error
@zanderwar thanks, will check it out 🙂
@sutherlandesign do you have the cms module installed?
hmmm... I didn't do anything other than restrict the searchable classes by adding
FulltextSearchable::enable([SiteTree::class]); (with the appropriate
use statements before it) to _config.php... but I thought it would work without that