mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 14:20:29 -04:00
Decrease minimum token count to 2 in InnoDB fulltext search
This commit is contained in:
parent
810087ccf9
commit
b70f500847
2 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,9 @@ sudo ln -s /standardebooks.org/web/config/php/fpm/standardebooks.test-secrets.in
|
||||||
sudo ln -s /standardebooks.org/web/config/php/fpm/standardebooks.test.conf /etc/php/*/fpm/pool.d/
|
sudo ln -s /standardebooks.org/web/config/php/fpm/standardebooks.test.conf /etc/php/*/fpm/pool.d/
|
||||||
sudo systemctl restart "php*-fpm.service"
|
sudo systemctl restart "php*-fpm.service"
|
||||||
|
|
||||||
|
# Link MariaDB configuration.
|
||||||
|
sudo ln -s /standardebooks.org/web/config/mariadb/99-se.cnf /etc/mysql/mariadb.conf.d/
|
||||||
|
|
||||||
# Create and populate the SE database.
|
# Create and populate the SE database.
|
||||||
mariadb < /standardebooks.org/web/config/sql/se.sql
|
mariadb < /standardebooks.org/web/config/sql/se.sql
|
||||||
mariadb < /standardebooks.org/web/config/sql/users.sql
|
mariadb < /standardebooks.org/web/config/sql/users.sql
|
||||||
|
|
3
config/mariadb/99-se.cnf
Normal file
3
config/mariadb/99-se.cnf
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[mysqld]
|
||||||
|
# Decrease the minimum token size for InnoDB fulltext searches to 2, so that we can match titles like <https://standardebooks.org/ebooks/yevgeny-zamyatin/we/gregory-zilboorg>.
|
||||||
|
innodb_ft_min_token_size = 2
|
Loading…
Add table
Add a link
Reference in a new issue