[DATABASE] Enable fulltext search by default

Also rename fulltext indices to more fitting names
and move the check from classes into database/schema.php
This commit is contained in:
Alexei Sorokin
2020-08-08 18:08:06 +03:00
parent 34ec165bff
commit f84dbb369f
6 changed files with 16 additions and 23 deletions

View File

@@ -744,11 +744,9 @@ search
Some stuff for search.
* `type`: type of search. Ignored if PostgreSQL or Sphinx are enabled. Can either
be 'fulltext' or 'like' (default). The former is faster and more efficient
but requires the lame old MyISAM engine for MySQL. The latter
will work with InnoDB but could be miserably slow on large
systems. We'll probably add another type sometime in the future,
with our own indexing system (maybe like MediaWiki's).
be 'like' or 'fulltext' (default). The latter is faster and more efficient
but if your storage engine of choice does not support it, then feel free to
choose 'like', but it could be miserably slow on large databases.
sessions