mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/sphinx-fulltext-search] add pgsql functionality
PHPBB3-10946
This commit is contained in:
parent
81959927e5
commit
609ce3ae8f
2 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ class phpbb_search_fulltext_sphinx
|
||||||
*/
|
*/
|
||||||
function init()
|
function init()
|
||||||
{
|
{
|
||||||
if ($this->db->sql_layer != 'mysql' && $this->db->sql_layer != 'mysql4' && $this->db->sql_layer != 'mysqli')
|
if ($this->db->sql_layer != 'mysql' && $this->db->sql_layer != 'mysql4' && $this->db->sql_layer != 'mysqli' && $this->db->sql_layer != 'postgres')
|
||||||
{
|
{
|
||||||
return $this->user->lang['FULLTEXT_SPHINX_WRONG_DATABASE'];
|
return $this->user->lang['FULLTEXT_SPHINX_WRONG_DATABASE'];
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,7 +80,7 @@ $lang = array_merge($lang, array(
|
||||||
'FULLTEXT_SPHINX_MAIN_POSTS' => 'Number of posts in main index',
|
'FULLTEXT_SPHINX_MAIN_POSTS' => 'Number of posts in main index',
|
||||||
'FULLTEXT_SPHINX_PORT' => 'Sphinx search deamon port',
|
'FULLTEXT_SPHINX_PORT' => 'Sphinx search deamon port',
|
||||||
'FULLTEXT_SPHINX_PORT_EXPLAIN' => 'Port on which the sphinx search deamon on localhost listens. Leave empty to use the default 3312',
|
'FULLTEXT_SPHINX_PORT_EXPLAIN' => 'Port on which the sphinx search deamon on localhost listens. Leave empty to use the default 3312',
|
||||||
'FULLTEXT_SPHINX_WRONG_DATABASE' => 'The sphinx plugin for phpBB currently only supports MySQL',
|
'FULLTEXT_SPHINX_WRONG_DATABASE' => 'The sphinx search for phpBB supports MySQL and PostgreSQL only.',
|
||||||
'FULLTEXT_SPHINX_STOPWORDS_FILE' => 'Stopwords activated',
|
'FULLTEXT_SPHINX_STOPWORDS_FILE' => 'Stopwords activated',
|
||||||
'FULLTEXT_SPHINX_STOPWORDS_FILE_EXPLAIN' => 'You can place a file called sphinx_stopwords.txt containing one word in each line in your config directory. If this file is present these words will be excluded from the indexing process.',
|
'FULLTEXT_SPHINX_STOPWORDS_FILE_EXPLAIN' => 'You can place a file called sphinx_stopwords.txt containing one word in each line in your config directory. If this file is present these words will be excluded from the indexing process.',
|
||||||
'FULLTEXT_SPHINX_CONFIG_FILE' => 'Sphinx config file',
|
'FULLTEXT_SPHINX_CONFIG_FILE' => 'Sphinx config file',
|
||||||
|
|
Loading…
Add table
Reference in a new issue