public function searchEngine(array
$classesToSearch,
string
$keywords,
int
$start,
int
$pageLength,
[string
$sortBy = "Relevance DESC",
[string
$extraFilter = "",
[boolean
$booleanSearch = false,
[string
$alternativeFileFilter = "",
[boolean
$invertedMatch = false]]]]] )
Parameters
$classesToSearch
—
array
$keywords
—
string
Keywords as a space separated string
$start
—
int
$pageLength
—
int
$sortBy
—
string
$extraFilter
—
string
$booleanSearch
—
boolean
$alternativeFileFilter
—
string
$invertedMatch
—
boolean
Returns
PaginatedList
DataObjectSet of result pages
Line
Task
302+
There is a fulltext search for SQLite making use of virtual tables, the fts3 extension and the MATCH operator there are a few issues with fts: - shared cached lock doesn't allow to create virtual tables on versions prior to 3.6.17 - there must not be more than one MATCH operator per statement - the fts3 extension needs to be available for now we use the MySQL implementation with the MATCH()AGAINST() uglily replaced with LIKE