Hi All,
Been a while since I posted anything here, but I am getting some weird results from the FullText filter. When I run:
$results = SiteTree::get()->filter('"Title,Content,URLSegment":FullText', "Search term");
I get the results I expect, but when I run:
$results = Product::get()->filter('"Title,Content,URLSegment":FullText', "Search term");
FulText filters the Title and URLSegment, but seems to ignore the content.
I am using this code for a new module I am writing that extends (hopefully) the default Silverstripe FullTextSearch, which can be found here: https://github.com/i-lateral/silverstripe-searchable
The product is setup the sameway as the SiteTree, using the extension here: https://github.com/i-lateral/silverstripe-searchable/blob/master/code/extensions/SearchableDataObject.php
Anyone got any idea why this isn't working? It has got me stumped?
Cheers,
Mo