php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59447 Undefined constant SPH_RANK_SPH04
Submitted: 2010-10-04 03:46 UTC Modified: 2010-10-05 12:06 UTC
From: kangov at icepique dot com Assigned:
Status: Not a bug Package: sphinx (PECL)
PHP Version: 5.3.2 OS: ubuntu 8.04
Private report: No CVE-ID: None
 [2010-10-04 03:46 UTC] kangov at icepique dot com
Description:
------------
SPH_RANK_SPH04 was introduced in sphinx 1.10-beta but is not 
present when using the sphinx.so module.

Reproduce code:
---------------
$sphinx->setRankingMode(SPH_RANK_SPH04);

Expected result:
----------------
No warnings

Actual result:
--------------
Undefined constant

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-05 11:14 UTC] santiago739 at gmail dot com
There is no SPH_RANK_SPH04 constant in libsphinxclient
I suppose it's a sphinx's bug.
 [2010-10-05 11:15 UTC] kangov at icepique dot com
Would you mind reporting it to them as you would best describe 
it?
 [2010-10-05 12:06 UTC] santiago739 at gmail dot com
I've already send a patch to sphinx but it's still not fixed.
 http://sphinxsearch.com/bugs/view.php?id=575
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jul 12 20:01:26 2020 UTC