framework/src/Search
Toby Zerner 322a84f516
Improve search performance (#1339)
* Improve fulltext gambit

* Only search in visible posts

This change relies on the `visibility-scoping` branch to be merged.

* Change posts table to use InnoDB engine

Doing a JOIN between an InnoDB table (discussions) and a MyISAM table
(posts) is very very (very) bad for performance. FULLTEXT indexes are
fully supported in InnoDB now, and it is a superior engine in every
other way, so there is no longer any reason to be using MyISAM.

* Use ::class

* Only search for comment posts

* Add fulltext index to discussions.title

* Fix migration not working if there is a table prefix

* Update frontend appearance

* Apply fixes from StyleCI

[ci skip] [skip ci]

* Show search result excerpts on mobile
2018-02-08 06:38:08 +10:30
..
AbstractRegexGambit.php Extract Flarum\Search namespace 2017-10-03 18:49:53 +02:00
AbstractSearch.php Improve search performance (#1339) 2018-02-08 06:38:08 +10:30
ApplySearchParametersTrait.php Improve search performance (#1339) 2018-02-08 06:38:08 +10:30
GambitInterface.php Extract Flarum\Search namespace 2017-10-03 18:49:53 +02:00
GambitManager.php Extract Flarum\Search namespace 2017-10-03 18:49:53 +02:00
SearchCriteria.php Extract Flarum\Search namespace 2017-10-03 18:49:53 +02:00
SearchResults.php Extract Flarum\Search namespace 2017-10-03 18:49:53 +02:00
SearchServiceProvider.php Fix namespaces 2017-10-03 18:52:50 +02:00