We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using the Fulltext filter as documented here, Fluent augments the query with COALESCE which is not compatible with the MATCH, AGAINST syntax.
Fulltext
COALESCE
MATCH
AGAINST
Content
Title
SilverStripe\CMS\Model\SiteTree: indexes: FullTextSearch: type: fulltext columns: ['Title', 'Content']
<?php use SilverStripe\CMS\Model\SiteTree; use SilverStripe\Control\Controller; class TestController extends Controller { public function index($request) { $query = $this->getRequest()->getVar('q'); return SiteTree::get()->filter('FullTextSearch:Fulltext', $query)->first()->Title; } }
SilverStripe\Control\Director: rules: 'search/': 'TestController'
http://localhost:8474/search?q=silverstripe
Silverstripe: 4.13.1 Fluent: 6.0.0 PHP: 7.4
4.13.1
6.0.0
7.4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using the
Fulltext
filter as documented here, Fluent augments the query withCOALESCE
which is not compatible with theMATCH
,AGAINST
syntax.Steps to reproduce
Content
andTitle
:http://localhost:8474/search?q=silverstripe
ENV
Silverstripe:
4.13.1
Fluent:
6.0.0
PHP:
7.4
The text was updated successfully, but these errors were encountered: