mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/sphinx-fulltext-search] minor changes in sphinx.conf
PHPBB3-10946
This commit is contained in:
@@ -6,6 +6,8 @@ source source_phpbb_{SPHINX_ID}_main
|
||||
sql_pass = password
|
||||
sql_db = db_name
|
||||
sql_port = 3306 #optional, default is 3306
|
||||
sql_query_pre = SET NAMES 'utf8'
|
||||
sql_query_pre = REPLACE INTO phpbb_sphinx SELECT 1, MAX(post_id) FROM phpbb_posts
|
||||
sql_query_range = SELECT MIN(post_id), MAX(post_id) FROM phpbb_posts
|
||||
sql_range_step = 5000
|
||||
sql_query = SELECT
|
||||
@@ -27,8 +29,6 @@ source source_phpbb_{SPHINX_ID}_main
|
||||
p.post_subject as title,
|
||||
\
|
||||
p.post_text as data,
|
||||
\
|
||||
t.topic_last_post_time,
|
||||
\
|
||||
t.topic_last_post_time,
|
||||
\
|
||||
|
Reference in New Issue
Block a user