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

Use of deprecated sql_attr_str2ordinal in sphinx.conf

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 3.1.0-dev, 3.1.0-a1
    • 3.1.0-b1
    • Search
    • 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

      Attachments

        Activity

          People

            dhruv.goel92 Dhruv Goel [X] (Inactive)
            Fisch.666 Fisch.666
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: