aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2014-03-09 01:16:13 +0530
committerDhruv <dhruv.goel92@gmail.com>2014-03-09 01:16:13 +0530
commit1207767bb3b23d6059dcdd54f10a9bd0b98e56b9 (patch)
tree4ae005759f22b140a33211d253913d2c74e49809
parent9100f4ebbfba9a4eb7a91e545bf85a3982ffc0dd (diff)
downloadforums-1207767bb3b23d6059dcdd54f10a9bd0b98e56b9.tar
forums-1207767bb3b23d6059dcdd54f10a9bd0b98e56b9.tar.gz
forums-1207767bb3b23d6059dcdd54f10a9bd0b98e56b9.tar.bz2
forums-1207767bb3b23d6059dcdd54f10a9bd0b98e56b9.tar.xz
forums-1207767bb3b23d6059dcdd54f10a9bd0b98e56b9.zip
[ticket/11938] use sql_attr_string instead of sql_attr_str2ordinal
PHPBB3-11938
-rw-r--r--phpBB/docs/sphinx.sample.conf2
-rw-r--r--phpBB/phpbb/search/fulltext_sphinx.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/docs/sphinx.sample.conf b/phpBB/docs/sphinx.sample.conf
index 620ec25761..0a210ecd1a 100644
--- a/phpBB/docs/sphinx.sample.conf
+++ b/phpBB/docs/sphinx.sample.conf
@@ -38,7 +38,7 @@ source source_phpbb_{SPHINX_ID}_main
sql_attr_bool = deleted
sql_attr_timestamp = post_time
sql_attr_timestamp = topic_last_post_time
- sql_attr_str2ordinal = post_subject
+ sql_attr_string = post_subject
}
source source_phpbb_{SPHINX_ID}_delta : source_phpbb_{SPHINX_ID}_main
{
diff --git a/phpBB/phpbb/search/fulltext_sphinx.php b/phpBB/phpbb/search/fulltext_sphinx.php
index acbfad9474..ae0b0b4e74 100644
--- a/phpBB/phpbb/search/fulltext_sphinx.php
+++ b/phpBB/phpbb/search/fulltext_sphinx.php
@@ -284,7 +284,7 @@ class fulltext_sphinx
array('sql_attr_bool', 'deleted'),
array('sql_attr_timestamp' , 'post_time'),
array('sql_attr_timestamp' , 'topic_last_post_time'),
- array('sql_attr_str2ordinal', 'post_subject'),
+ array('sql_attr_string', 'post_subject'),
),
'source source_phpbb_' . $this->id . '_delta : source_phpbb_' . $this->id . '_main' => array(
array('sql_query_pre', ''),