Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11938

Use of deprecated sql_attr_str2ordinal in sphinx.conf

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev, 3.1.0-a1
    • Fix Version/s: 3.1.0-b1
    • Component/s: Search
    • Labels:
      None

      Description

      Hi,

      starting with Sphinx 2.1.2 the used sql_attr_str2ordinal in:

      https://github.com/phpbb/phpbb/blob/develop/phpBB/phpbb/search/fulltext_sphinx.php#L287

      and

      https://github.com/phpbb/phpbb/blob/develop/phpBB/docs/sphinx.sample.conf#L41

      are now deprecated according to:

      http://sphinxsearch.com/docs/current.html#conf-sql-attr-str2ordinal

      and probably will be removed in future versions of Sphinx. According to the shown message:

      WARNING: key 'sql_attr_str2ordinal' is deprecated in /etc/sphinxsearch/sphinx.conf line 39; use 'sql_attr_string for sorting' instead.

      it should be replaced by:

      http://sphinxsearch.com/docs/current.html#conf-sql-attr-string

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            dhruv.goel92 Dhruv Goel
            Reporter:
            Fisch.666 Fisch.666
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development