From 1207767bb3b23d6059dcdd54f10a9bd0b98e56b9 Mon Sep 17 00:00:00 2001 From: Dhruv Date: Sun, 9 Mar 2014 01:16:13 +0530 Subject: [PATCH] [ticket/11938] use sql_attr_string instead of sql_attr_str2ordinal PHPBB3-11938 --- phpBB/docs/sphinx.sample.conf | 2 +- phpBB/phpbb/search/fulltext_sphinx.php | 2 +- 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', ''),