mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:11:47 +02:00
Merge pull request #5777 from KYPREO/ticket/16258
[ticket/16258] Fix sample Sphinx configuration file
This commit is contained in:
@@ -41,7 +41,7 @@ source source_phpbb_{SPHINX_ID}_main
|
|||||||
}
|
}
|
||||||
source source_phpbb_{SPHINX_ID}_delta : source_phpbb_{SPHINX_ID}_main
|
source source_phpbb_{SPHINX_ID}_delta : source_phpbb_{SPHINX_ID}_main
|
||||||
{
|
{
|
||||||
sql_query_pre =
|
sql_query_pre = SET NAMES 'utf8'
|
||||||
sql_query_range =
|
sql_query_range =
|
||||||
sql_range_step =
|
sql_range_step =
|
||||||
sql_query = SELECT \
|
sql_query = SELECT \
|
||||||
@@ -61,7 +61,7 @@ source source_phpbb_{SPHINX_ID}_delta : source_phpbb_{SPHINX_ID}_main
|
|||||||
WHERE \
|
WHERE \
|
||||||
p.topic_id = t.topic_id \
|
p.topic_id = t.topic_id \
|
||||||
AND p.post_id >= ( SELECT max_doc_id FROM phpbb_sphinx WHERE counter_id=1 )
|
AND p.post_id >= ( SELECT max_doc_id FROM phpbb_sphinx WHERE counter_id=1 )
|
||||||
sql_query_pre =
|
sql_query_post_index =
|
||||||
}
|
}
|
||||||
index index_phpbb_{SPHINX_ID}_main
|
index index_phpbb_{SPHINX_ID}_main
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user