Release Candidate
Improved the DataScout data component.
- you can still do a simple search like in the old version by using the "SimpleSearch" class
- you can now do a fulltext search by using the "FulltextSearch" class (make sure that you have a FULLTEXT INDEX on the columns!!)
/**
* New way of constructing the DataScout
*/
$dataScout = new DataScout(new SimpleSearch(['name']));
// or the new fulltext search
$dataScout = new DataScout(new FulltextSearch(['name']));
// it supports different modes like "IN NATURAL LANGUAGE MODE", "IN BOOLEAN MODE" and "WITH QUERY EXPANSION"
$dataScout->setMode('WITH QUERY EXPANSION');