1
0
mirror of https://github.com/flarum/core.git synced 2025-10-09 22:16:51 +02:00
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
2017-09-12 20:41:17 +02:00
2018-02-08 06:38:08 +10:30
2018-02-08 06:38:08 +10:30
2018-02-08 06:38:08 +10:30
2018-01-11 01:25:10 +10:30
2018-01-10 20:39:53 +01:00
2016-11-16 15:47:12 +10:30
2017-12-31 20:48:23 +01:00
2015-11-01 16:00:25 +10:30

Flarum Core

This repository contains Flarum's core code. If you want to set up a forum, visit the main Flarum repository.

Contributing

Flarum is open-source and we would love your help building it! Please read the Contributing Guide to learn how you can help.

Description
No description provided
Readme 125 MiB
Languages
PHP 65.5%
JavaScript 14.2%
TypeScript 13.9%
Less 5.5%
Blade 0.7%
Other 0.2%