<?xml version="1.0" encoding="utf-8"?>
<!--  RSS generated by Flaimo.com RSS Builder [2010-09-08 18:37:26]  --> <rss version="2.0" xmlns:im="http://purl.org/rss/1.0/item-images/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" >
<channel>
<docs>http://www.sphinxsearch.com/bugs/</docs>
<description>Mantis - ISSUES</description>
<link>http://www.sphinxsearch.com/bugs/</link>
<title>Mantis - ISSUES</title>
<image>
<title>Mantis - ISSUES</title>
<url>http://www.sphinxsearch.com/bugs/images/mantis_logo_button.gif</url>
<link>http://www.sphinxsearch.com/bugs/</link>
<description>Mantis - ISSUES</description>
</image>
<category>All Projects</category>
<ttl>10</ttl>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2010-09-08T18:37:26+02:00</sy:updateBase>
<item>
<title>0000591: Random results with SPH_SORT_EXPR mode on SetOverriden attributes.</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=591</link>
<description>The following used to work fine on Sphinx 0.9.9 (r2117).&lt;br /&gt;
&lt;br /&gt;
import sphinxapi&lt;br /&gt;
import config_sphinx&lt;br /&gt;
&lt;br /&gt;
def make_client():&lt;br /&gt;
    cl = sphinxapi.SphinxClient()&lt;br /&gt;
    cl.SetServer('localhost', config_sphinx.port)&lt;br /&gt;
    return cl&lt;br /&gt;
&lt;br /&gt;
def test_set_override(cl):&lt;br /&gt;
    year = {111111:1, 111112:10, 111113:100}&lt;br /&gt;
    cl.SetMatchMode(sphinxapi.SPH_MATCH_EXTENDED2)&lt;br /&gt;
    cl.SetOverride('year_attr', sphinxapi.SPH_ATTR_INTEGER, year)&lt;br /&gt;
    #cl.SetSortMode(sphinxapi.SPH_SORT_EXTENDED, 'year_attr desc')&lt;br /&gt;
    cl.SetSortMode(sphinxapi.SPH_SORT_EXPR, 'year_attr')&lt;br /&gt;
    return cl.Query('111111 | 111112 | 111113')&lt;br /&gt;
&lt;br /&gt;
cl = make_client()&lt;br /&gt;
results = test_set_override(cl)&lt;br /&gt;
&lt;br /&gt;
for r in results['matches']:&lt;br /&gt;
    print r['id'], r['attrs']['year_attr']&lt;br /&gt;
&lt;br /&gt;
with results:&lt;br /&gt;
    &lt;br /&gt;
&gt;&gt; 111112 10&lt;br /&gt;
&gt;&gt; 111111 1&lt;br /&gt;
&gt;&gt; 111113 100&lt;br /&gt;
&lt;br /&gt;
However if the mode is set to extended we get the expected results:&lt;br /&gt;
&lt;br /&gt;
&gt;&gt; 111113 100&lt;br /&gt;
&gt;&gt; 111112 10&lt;br /&gt;
&gt;&gt; 111111 1</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=591</guid>
<author>ale666 &lt;ale666@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=591#bugnotes</comments>
</item>
<item>
<title>0000590: Can't have a field named &quot;status&quot;</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=590</link>
<description>In my Sphinx configuration I have the following:&lt;br /&gt;
&lt;br /&gt;
sql_attr_uint = status&lt;br /&gt;
&lt;br /&gt;
This query:&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM nolimits WHERE status = 1 ORDER BY rating DESC OPTION ranker=bm25;&lt;br /&gt;
&lt;br /&gt;
produces this error:&lt;br /&gt;
&lt;br /&gt;
ERROR 1064 (42000): syntax error, unexpected STATUS, expecting IDENT or ID or MATCH near 'status = 1 ORDER BY rating DESC OPTION ranker=bm25'</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=590</guid>
<author>The Pixel Developer &lt;The Pixel Developer@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=590#bugnotes</comments>
</item>
<item>
<title>0000589: LIBEXPAT.dll is not included in sphinx-1.10-beta-win32-id64-full.zip</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=589</link>
<description>LIBEXPAT.dll is not included in sphinx-1.10-beta-win32-id64-full.zip and when we want to run indexer.exe windows will alert the following message:&lt;br /&gt;
The program can't start because LIBEXPAT.dll is missing from your computer.&lt;br /&gt;
&lt;br /&gt;
I attached this file to be placed in bin directory.&lt;br /&gt;
Thank you.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=589</guid>
<author>cyberical &lt;cyberical@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=589#bugnotes</comments>
</item>
<item>
<title>0000588: Sphinx segmentation fault when searching</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=588</link>
<description>i have a problem with index - sphinx fail when try search&lt;br /&gt;
it gives me an error message &quot;Segmentation fault&quot;&lt;br /&gt;
&lt;br /&gt;
./search -c ../etc/sphinx.conf -i rts new&lt;br /&gt;
?????? ???????????????&lt;br /&gt;
&lt;br /&gt;
Then i try to check index with indextool&lt;br /&gt;
&lt;br /&gt;
Sphinx 1.11-id64-dev (r2472)&lt;br /&gt;
Copyright (c) 2001-2010, Andrew Aksyonoff&lt;br /&gt;
Copyright (c) 2008-2010, Sphinx Technologies Inc ( &lt;a href=&quot;http://sphinxsearch.com&quot;&gt;http://sphinxsearch.com&lt;/a&gt; [&lt;a href=&quot;http://sphinxsearch.com&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;] )&lt;br /&gt;
&lt;br /&gt;
using config file '../etc/sphinx.conf'...&lt;br /&gt;
checking index 'rts'...&lt;br /&gt;
checking dictionary...&lt;br /&gt;
checking data...&lt;br /&gt;
FAILED, row not found (wordid=1166983373492(??A?), docid=388885)&lt;br /&gt;
FAILED, row not found (wordid=26815325588045(??A?), docid=622244)&lt;br /&gt;
FAILED, row not found (wordid=28743421987717(??A?), docid=427672)&lt;br /&gt;
FAILED, row not found (wordid=30061363013751(??A?), docid=1212197)&lt;br /&gt;
FAILED, row not found (wordid=30061363013751(??A?), docid=1253906)&lt;br /&gt;
FAILED, row not found (wordid=30810437118623(??A?), docid=327840)&lt;br /&gt;
FAILED, row not found (wordid=33880271985906(??A?), docid=53040)&lt;br /&gt;
FAILED, row not found (wordid=35489705271929(??A?), docid=76331)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=390839)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=404816)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=415335)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=415841)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=415890)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=416860)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=417919)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=418504)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=419705)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=507689)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=508107)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=511565)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=511575)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=511951)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=512012)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=512961)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=512990)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=514710)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=514760)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=1132076)&lt;br /&gt;
FAILED, row not found (wordid=36912080341550(??A?), docid=1132078)&lt;br /&gt;
FAILED, row not found (wordid=39186036870579(??A?), docid=571412)&lt;br /&gt;
FAILED, row not found (wordid=39186036870579(??A?), docid=574938)&lt;br /&gt;
FAILED, row not found (wordid=39186036870579(??A?), docid=577836)&lt;br /&gt;
FAILED, row not found (wordid=39186036870579(??A?), docid=723682)&lt;br /&gt;
FAILED, row not found (wordid=41187820428553(??A?), docid=1126177)&lt;br /&gt;
FAILED, row not found (wordid=45897058083512(??A?), docid=622569)&lt;br /&gt;
FAILED, row not found (wordid=45897058083512(??A?), docid=624095)&lt;br /&gt;
FAILED, row not found (wordid=45897058083512(??A?), docid=624324)&lt;br /&gt;
FAILED, row not found (wordid=46087447849255(??A?), docid=151895)&lt;br /&gt;
FAILED, row not found (wordid=48683844810461(??A?), docid=399115)&lt;br /&gt;
FAILED, row not found (wordid=48683844810461(??A?), docid=442822)&lt;br /&gt;
FAILED, row not found (wordid=48683844810461(??A?), docid=928677)&lt;br /&gt;
FAILED, row not found (wordid=48683844810461(??A?), docid=1036223)&lt;br /&gt;
FAILED, row not found (wordid=48829807817615(??A?), docid=325119)&lt;br /&gt;
FAILED, row not found (wordid=50105661882079(??A?), docid=462733)&lt;br /&gt;
FAILED, row not found (wordid=60583269066933(??A?), docid=660669)&lt;br /&gt;
FAILED, row not found (wordid=60583269066933(??A?), docid=704258)&lt;br /&gt;
FAILED, row not found (wordid=60583269066933(??A?), docid=705032)&lt;br /&gt;
FAILED, row not found (wordid=61167342978675(??A?), docid=860031)&lt;br /&gt;
FAILED, row not found (wordid=70849543353948(??A?), docid=383937)&lt;br /&gt;
FAILED, row not found (wordid=74163257211519(??A?), docid=1117102)&lt;br /&gt;
FAILED, row not found (wordid=75072123887525(??A?), docid=76331)&lt;br /&gt;
FAILED, row not found (wordid=76850467087326(??A?), docid=602237)&lt;br /&gt;
FAILED, row not found (wordid=76850467087326(??A?), docid=884312)&lt;br /&gt;
FAILED, row not found (wordid=83280564280876(??A?), docid=714441)&lt;br /&gt;
FAILED, row not found (wordid=86157596528283(??A?), docid=78434)&lt;br /&gt;
FAILED, row not found (wordid=86453634932553(??A?), docid=678654)&lt;br /&gt;
FAILED, row not found (wordid=91821485348497(??A?), docid=1129861)&lt;br /&gt;
FAILED, row not found (wordid=95433507507615(??A?), docid=980526)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=522263)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=522267)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=522269)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=597373)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=597377)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=681590)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=681598)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=681599)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=681600)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=702003)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=702010)&lt;br /&gt;
FAILED, row not found (wordid=95977988057691(??A?), docid=702026)&lt;br /&gt;
FAILED, row not found (wordid=102809208949814(??A?), docid=535982)&lt;br /&gt;
FAILED, row not found (wordid=105973893850577(??A?), docid=881393)&lt;br /&gt;
FAILED, row not found (wordid=108844449880737(??A?), docid=900959)&lt;br /&gt;
FAILED, row not found (wordid=108844449880737(??A?), docid=903764)&lt;br /&gt;
FAILED, row not found (wordid=121787539880377(??A?), docid=161407)&lt;br /&gt;
FAILED, row not found (wordid=123550946352916(??A?), docid=796052)&lt;br /&gt;
FAILED, row not found (wordid=124862979748062(??A?), docid=70969)&lt;br /&gt;
FAILED, row not found (wordid=125848661401527(??A?), docid=397684)&lt;br /&gt;
FAILED, row not found (wordid=128915087522209(??A?), docid=393821)&lt;br /&gt;
FAILED, row not found (wordid=128915087522209(??A?), docid=402289)&lt;br /&gt;
FAILED, row not found (wordid=128915087522209(??A?), docid=405592)&lt;br /&gt;
FAILED, row not found (wordid=128915087522209(??A?), docid=415211)&lt;br /&gt;
FAILED, row not found (wordid=128915087522209(??A?), docid=442006)&lt;br /&gt;
FAILED, row not found (wordid=128915087522209(??A?), docid=443531)&lt;br /&gt;
FAILED, row not found (wordid=128915087522209(??A?), docid=450484)&lt;br /&gt;
FAILED, row not found (wordid=128915087522209(??A?), docid=472745)&lt;br /&gt;
FAILED, row not found (wordid=131768785336887(??A?), docid=4280)&lt;br /&gt;
FAILED, row not found (wordid=139894673232382(??A?), docid=1185371)&lt;br /&gt;
FAILED, row not found (wordid=139894673232382(??A?), docid=1204967)&lt;br /&gt;
FAILED, row not found (wordid=139894673232382(??A?), docid=1211483)&lt;br /&gt;
FAILED, row not found (wordid=139894673232382(??A?), docid=1211484)&lt;br /&gt;
FAILED, row not found (wordid=139894673232382(??A?), docid=1223979)&lt;br /&gt;
FAILED, row not found (wordid=139894673232382(??A?), docid=1223980)&lt;br /&gt;
FAILED, row not found (wordid=145541178917136(??A?), docid=755872)&lt;br /&gt;
FAILED, row not found (wordid=145541178917136(??A?), docid=871560)&lt;br /&gt;
FAILED, row not found (wordid=146473578994454(??A?), docid=622538)&lt;br /&gt;
FAILED, row not found (wordid=146473578994454(??A?), docid=622833)&lt;br /&gt;
FAILED, row not found (wordid=151062713822239(??A?), docid=333485)&lt;br /&gt;
FAILED, row not found (wordid=153727707578801(??A?), docid=418257)&lt;br /&gt;
FAILED, row not found (wordid=157659783591505(??A?), docid=866840)&lt;br /&gt;
(threshold reached; suppressing further output)&lt;br /&gt;
checking rows...&lt;br /&gt;
checking attribute blocks index...&lt;br /&gt;
checking kill-list...&lt;br /&gt;
check FAILED, 100 of 243206647 failures reported, 72.2 sec elapsed&lt;br /&gt;
&lt;br /&gt;
It write that he could not find something.&lt;br /&gt;
&lt;br /&gt;
And it is crash log:&lt;br /&gt;
&lt;br /&gt;
-------FATAL: CRASH LOG DUMP-------&lt;br /&gt;
[Tue Aug 31 14:58:22.126 2010] [21385]&lt;br /&gt;
&lt;br /&gt;
--- crashed SphinxAPI request dump ---&lt;br /&gt;
AAABFwAAAOYAAAABAAAAAAAAAAoAAAAGAAAAAAAAAAAAAAAAAAAAGEAodGl0bGUsYW5jaG9yKSAid2VsbCIvMQAAAA&lt;br /&gt;
AAAAANcnRzLCBydHNEZWx0YQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAZraWxsZWQAAAAAAAAAAQAAAAAAAAAA&lt;br /&gt;
AAAAAAAAAAAAAAAAAAAACgAAAAtAZ3JvdXAgZGVzYwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAABX&lt;br /&gt;
RpdGxlAAAACgAAAAZhbmNob3IAAAAUAAAAAAAAAAAAAAABKg==&lt;br /&gt;
--- crashed SphinxAPI request dump ---&lt;br /&gt;
-------------- backtrace begins here ---------------&lt;br /&gt;
Sphinx 1.11-id64-dev (r2472)&lt;br /&gt;
Program compiled with gcc 4.4.3&lt;br /&gt;
Host OS is Linux us1 2.6.32-24-server &lt;a href=&quot;http://www.sphinxsearch.com/bugs/view.php?id=41&quot;&gt;0000041&lt;/a&gt;-Ubuntu SMP Thu Aug 19 02:47:08 UTC 2010 x86_64&lt;br /&gt;
GNU/Linux&lt;br /&gt;
Stack bottom = 0x7fe99b93ee7f, thread stack size = 0x14000&lt;br /&gt;
begin of manual backtrace:&lt;br /&gt;
Something wrong with thread stack, backtrace may be incorrect (fp=7fe99b93e090)&lt;br /&gt;
Stack looks OK, attempting backtrace.&lt;br /&gt;
4119d6&lt;br /&gt;
54cd2e&lt;br /&gt;
46f248&lt;br /&gt;
54f5d2&lt;br /&gt;
563099&lt;br /&gt;
4715f4&lt;br /&gt;
4973b5&lt;br /&gt;
49adef&lt;br /&gt;
49a53f&lt;br /&gt;
422184&lt;br /&gt;
4223d5&lt;br /&gt;
50f27d&lt;br /&gt;
7fe99b2579ca&lt;br /&gt;
Something wrong in frame pointers, backtrace failed (fp=0)&lt;br /&gt;
begin of system backtrace:&lt;br /&gt;
begin of system symbols:&lt;br /&gt;
/usr/local/sphinx/bin/searchd[0x508ac4]&lt;br /&gt;
/usr/local/sphinx/bin/searchd(_ZN16SphCrashLogger_c11HandleCrashEi+0x146)[0x4119d6]&lt;br /&gt;
/lib/libpthread.so.0(+0xf8f0)[0x7fe99b2608f0]&lt;br /&gt;
/usr/local/sphinx/bin/searchd[0x54cd2e]&lt;br /&gt;
/usr/local/sphinx/bin/searchd[0x46f248]&lt;br /&gt;
/usr/local/sphinx/bin/searchd[0x54f5d2]&lt;br /&gt;
/usr/local/sphinx/bin/searchd[0x563099]&lt;br /&gt;
/usr/local/sphinx/bin/searchd[0x4715f4]&lt;br /&gt;
/usr/local/sphinx/bin/searchd[0x4973b5]&lt;br /&gt;
/usr/local/sphinx/bin/searchd[0x49adef]&lt;br /&gt;
/usr/local/sphinx/bin/searchd[0x49a53f]&lt;br /&gt;
/usr/local/sphinx/bin/searchd[0x422184]&lt;br /&gt;
/usr/local/sphinx/bin/searchd(_Z21LocalSearchThreadFuncPv+0x45)[0x4223d5]&lt;br /&gt;
/usr/local/sphinx/bin/searchd(_Z20sphThreadProcWrapperPv+0x1d)[0x50f27d]&lt;br /&gt;
/lib/libpthread.so.0(+0x69ca)[0x7fe99b2579ca]&lt;br /&gt;
/lib/libc.so.6(clone+0x6d)[0x7fe99a3e76fd]&lt;br /&gt;
-------------- backtrace ends here ---------------&lt;br /&gt;
&lt;br /&gt;
I don't understand what is happen: early it worked with the index normally, and now&lt;br /&gt;
writes error.&lt;br /&gt;
And in the configuration files do not fundamentally changed.&lt;br /&gt;
ReIndex not help.&lt;br /&gt;
&lt;br /&gt;
What happened and how to fix this?&lt;br /&gt;
Can a source table size affect on it?</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=588</guid>
<author>boa &lt;boa@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=588#bugnotes</comments>
</item>
<item>
<title>0000587: filtering with python api lib disallows integers values bigger than 0x7fffffff</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=587</link>
<description>In the code of SetFilter(api/sphinxapi.py):&lt;br /&gt;
=====================&lt;br /&gt;
for value in values:&lt;br /&gt;
	assert(isinstance(value, int))&lt;br /&gt;
=====================&lt;br /&gt;
int type in python only corresponds to int32_t type in c and if an integer larger than 0x7fffffff is used it will always be automatically converted to long so assertion will fail.&lt;br /&gt;
&lt;br /&gt;
suggesting to change this into&lt;br /&gt;
assert(isinstance(value, (int, long)))&lt;br /&gt;
or more strict by checking the integer range.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=587</guid>
<author>sly &lt;sly@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=587#bugnotes</comments>
</item>
<item>
<title>0000586: SphinxQL erratically returns NULL result, but no associated mysql_error</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=586</link>
<description>I'm connecting to Sphinx via SphinxQL from PHP. Every so often, Sphinx returns NULL as a result of two certain queries, but mysql_error() returns empty string. Re-running the same query again works ok. The examples of the failing queries (see the &quot;Additional Information&quot; for the index definition):&lt;br /&gt;
&lt;br /&gt;
&gt; SELECT * FROM posts WHERE userid = 325249 GROUP BY forumid ORDER BY @count DESC LIMIT 1&lt;br /&gt;
&lt;br /&gt;
&gt; SELECT * FROM posts WHERE userid = 45231 GROUP BY threadid ORDER BY @count DESC LIMIT 1&lt;br /&gt;
&lt;br /&gt;
The server where Sphinx is running isn't loaded at all, the query rate is about one in 1-5 seconds. There is nothing in searchd.log, and I was able to track down the associated entries in query.log - they look ok, there is nothing unusual:&lt;br /&gt;
&lt;br /&gt;
&gt; [Fri Aug 20 12:55:28.923 2010] 0.106 sec [ext2/1/ext 0 (0,1) @forumid] [posts] [ios=0 kb=0.0 ioms=0.0 cpums=191.6]&lt;br /&gt;
&lt;br /&gt;
&gt; [Fri Aug 20 12:41:01.557 2010] 0.421 sec [ext2/1/ext 5 (0,1) @threadid] [posts] [ios=0 kb=0.0 ioms=0.0 cpums=504.8]&lt;br /&gt;
&lt;br /&gt;
The failing queries are always of the same two types outlined above, but the userid parameter is different each time. Again, re-running a failed query again, either manually or by visiting the page that triggers the query works ok. The failure rate is quite low - for example, there were 12 failures in a day out of 3672 queries of that type.&lt;br /&gt;
&lt;br /&gt;
There are many more different queries against the same index such as other scan queries and the fulltext queries, but they always return the results (no NULL as a result). Though most of them are being executed through the PHP API, but there are some SphinxQL queries as well.&lt;br /&gt;
&lt;br /&gt;
Sometimes there is a MySQL error returned by SphinxQL: &quot;Server shutdown in progress&quot;. It only happens during the index rotation. Again, only this particular type of query returns this MySQL error - I didn't see &quot;server shutdown in progress&quot; ever before.&lt;br /&gt;
&lt;br /&gt;
I'm currently using 1.10beta, but the same errors were happening in 0.9.9.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=586</guid>
<author>kmike &lt;kmike@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=586#bugnotes</comments>
</item>
<item>
<title>0000585: str2ordinal attributes are always 0 if docinfo is set to inline</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=585</link>
<description>str2ordinal attributes are always 0 if docinfo is set to inline, when set back to extern, it's working normally again.&lt;br /&gt;
Maybe it's a documentation bug or probably a program bug since the storagement sounds the same for uint and ordinals.&lt;br /&gt;
Please take a look at it. Thanks.&lt;br /&gt;
&lt;br /&gt;
Peace.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=585</guid>
<author>sly &lt;sly@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=585#bugnotes</comments>
</item>
<item>
<title>0000584: Bug: broken SetOverride in distributed index</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=584</link>
<description>Hi all,&lt;br /&gt;
&lt;br /&gt;
It seems the newest version of Sphinx (1.10-beta) has broken SetOverride when using&lt;br /&gt;
distributed indexes. Is anyone experiencing these difficulties?&lt;br /&gt;
&lt;br /&gt;
cl = sphinxapi.SphinxClient()&lt;br /&gt;
cl.SetServer('localhost', port)&lt;br /&gt;
cl.SetOverride('score_attr', sphinxapi.SPH_ATTR_FLOAT, scores)&lt;br /&gt;
cl.Query('hello') # same problem even with cl.Query('hello', index='dist_index')&lt;br /&gt;
&lt;br /&gt;
&gt; error: unpack str size does not match format&lt;br /&gt;
&lt;br /&gt;
and sphinx.conf file is everything you would expect.&lt;br /&gt;
&lt;br /&gt;
I tried everything so I really think there might be a bug here. If anyone has it working&lt;br /&gt;
please let me know.&lt;br /&gt;
&lt;br /&gt;
Thank you,&lt;br /&gt;
&lt;br /&gt;
Alex</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=584</guid>
<author>ale666 &lt;ale666@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=584#bugnotes</comments>
</item>
<item>
<title>0000583: Indexer crashes at use wordforms</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=583</link>
<description>Indexer crashes on certain words from wordforms file.&lt;br /&gt;
&lt;br /&gt;
File of wordforms contents russian words in utf8 encoding.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=583</guid>
<author>Minor &lt;Minor@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=583#bugnotes</comments>
</item>
<item>
<title>0000542: IN Clause fails to find all documents</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=542</link>
<description>I use IN clause for querying the sphinx, using:&lt;br /&gt;
SELECT * FROM entries WHERE entry_status IN(101,102,0,1,2) AND media_type IN(1,2,5,6,201) AND partner_id = 291 LIMIT 20;&lt;br /&gt;
&lt;br /&gt;
In the index I have 11 documents in entry_status 2 and one in entry_status 1 and yet I get only the first 11 results.&lt;br /&gt;
&lt;br /&gt;
However, when I query only for statuses 1 and 2 I get all 12 results, as followed:&lt;br /&gt;
SELECT * FROM entries WHERE entry_status IN(1,2) AND media_type IN(1,2,5,6,201) AND partner_id = 291 LIMIT 20;</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=542</guid>
<author>Tan-Tan &lt;Tan-Tan@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=542#bugnotes</comments>
</item>
<item>
<title>0000582: Fatal Crash in searchd</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=582</link>
<description>From the backtrace, it looks like there is a fatal crash when filtering, although I have not looked into it too deep. It is reproducable using the same request that was dumped.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=582</guid>
<author>bompus &lt;bompus@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=582#bugnotes</comments>
</item>
<item>
<title>0000485: Wrong (additional) results when rotating</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=485</link>
<description>Its actually sphinx 0.9.9-release (r2117)&lt;br /&gt;
&lt;br /&gt;
I have two indices (main and delta). Now, as documents become added, I run an &quot;indexer --rotate delta&quot;. Search is done over both indices.&lt;br /&gt;
&lt;br /&gt;
Now I sometimes get results which actually are none. They are not related at all. But most wrong results have a id (auto inc in mysql) close together.&lt;br /&gt;
&lt;br /&gt;
I noticed it, because I have a rss feed to check for new results and my reader is archiving all results.&lt;br /&gt;
Knowing this I made script, always doing the same query and waiting for a change in the results. And so I got this example:&lt;br /&gt;
&lt;br /&gt;
ids ok: 62192152, 61614749, 61169581, 60865306, 57267807&lt;br /&gt;
&lt;br /&gt;
wrong additional ids in one search:&lt;br /&gt;
63297709, 63297710, 63297711, 63297712, 63297713,&lt;br /&gt;
63297721,&lt;br /&gt;
63297733,&lt;br /&gt;
63297779, 63297780, 63297781, 63297782, 63297783, 63297784,&lt;br /&gt;
63297714, 63297715, 63297716, 63297717, 63297718&lt;br /&gt;
&lt;br /&gt;
Database and index is far too big to upload. But it should be reproduceable with smaller datasets.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=485</guid>
<author>Markus &lt;Markus@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=485#bugnotes</comments>
</item>
<item>
<title>0000478: SetGroupBy and filter by @count</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=478</link>
<description>Example of output data without filter by @count&lt;br /&gt;
row1:([id]=&gt;1,[file_id]=&gt;45,[keyword_id]=&gt;51,[@groupby]=&gt;1,[@count]=&gt;4)&lt;br /&gt;
row2:([id]=&gt;2,[file_id]=&gt;46,[keyword_id]=&gt;50,[@groupby]=&gt;2,[@count]=&gt;5)&lt;br /&gt;
&lt;br /&gt;
Trying to filter data by @count:&lt;br /&gt;
Way 1:&lt;br /&gt;
$cl-&gt;SetSelect( &quot;*,@count as group_count&quot;);&lt;br /&gt;
-&gt; &quot;parse error: unknown identifier '@count' (not an attribute, not a function) &quot;&lt;br /&gt;
Way 2: $cl-&gt;SetFilter('@count',array(5)); -&gt; filtering all, result is empty&lt;br /&gt;
Way 3: $cl-&gt;SetMatchMode(SPH_MATCH_EXTENDED); $cl-&gt;Query('@count 5',$index);&lt;br /&gt;
-&gt; query error: no field 'count' found in schema &lt;br /&gt;
&lt;br /&gt;
So @count can't be renamed and @count can't be used in SetFilter or Query.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=478</guid>
<author>gartt &lt;gartt@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=478#bugnotes</comments>
</item>
<item>
<title>0000581: geodistance optimization with other attribute filters</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=581</link>
<description>Sphinx would calculate geo distance for all attributes even if there are other filters that would potentially limit the amount of data to process significantly. Here's one example with geofilter and without it:&lt;br /&gt;
&lt;br /&gt;
/usr/local/src/sphinx-0.9.9-rc2/api# php -q test-geo.php -h 127.0.0.1 -i location -fr created_at 1283008618 1283181418 -l 1 &lt;br /&gt;
Query '' retrieved 7 of 7 matches in 0.245 sec.&lt;br /&gt;
Query stats:&lt;br /&gt;
&lt;br /&gt;
Matches:&lt;br /&gt;
1. doc_id=22, weight=1, image_id=3, lat_rad=0.746088087559, long_rad=-1.37429499626, created_at=2010-08-28 16:17:27, @geodist=19308.6054688&lt;br /&gt;
&lt;br /&gt;
/usr/local/src/sphinx-0.9.9-rc2/api# php -q test.php -h 127.0.0.1 -i location -fr created_at 1283008618 1283181418 -l 1 &lt;br /&gt;
Query '' retrieved 1000 of 39455 matches in 0.032 sec.&lt;br /&gt;
Query stats:&lt;br /&gt;
&lt;br /&gt;
Matches:&lt;br /&gt;
&lt;br /&gt;
1. doc_id=12, weight=1, image_id=6, lat_rad=0.795294225216, long_rad=0.103550389409, created_at=2010-08-28 11:17:00</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=581</guid>
<author>aurimas_m &lt;aurimas_m@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=581#bugnotes</comments>
</item>
<item>
<title>0000146: Mysql replication and Sphinx</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=146</link>
<description>sphix is really great, but I experience a very strange situation with my sphinx server.&lt;br /&gt;
So I have master-slave scheme and in the slave I compiled the sphinx engine in mysql 5.0.37, to use it with joins with one of my tables, which is replicating from the master (in fact all tables are raplicating, but I use only two - the indexer use one and then the query uses sphinx table joining one more table). The replication is 300-400 queris/sec and when the replication is on, sphinx is so fast taht there is a hardly one or two queries shown in &quot;show processlist&quot; from time to time, but after a while (1-5 minutes) suddenly some queries (a small amount at first 5-10 queries) just hang in &quot;Sending data&quot;, and after that almost all queries get &quot;Locked&quot; state, the others get hung in &quot;Sending data&quot; and the max_connection is reached for seconds. In the meawhile the load of the server os almost 0 (no load - 0.03-0.20), no IO, nothing. The searchd daemon does nothing (straced it, and the daemon just listens for new connections).&lt;br /&gt;
I cannot figure it out what makes mysql suddenly to &quot;Sending data&quot; and not getting out of this state despite of there is no server load or reindexing!</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=146</guid>
<author>neoX &lt;neoX@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=146#bugnotes</comments>
</item>
<item>
<title>0000558: Feature request: syslog logging</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=558</link>
<description>In order to support logging to another system, the possibility of logging to syslog would be nice to have. Alternatively, just logging to an external process (through a pipe) would be sufficient, such that another tool can log to syslog (this would give more flexibility to configuring facility, program, log level, etc as I already have my own script for this purpose).</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=558</guid>
<author>le1t0 &lt;le1t0@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=558#bugnotes</comments>
</item>
<item>
<title>0000567: Able to return term position in the search result</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=567</link>
<description>It would be useful to return the term position(s) in the search result. So we can do some post-processing on the search result.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=567</guid>
<author>howachen &lt;howachen@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=567#bugnotes</comments>
</item>
<item>
<title>0000580: SphinxQL: query output does not retain column order</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=580</link>
<description>When I query the index, response does not match the order of columns that were originally in the query. Here's an example:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mysql&gt; SELECT user_id, nomeabrev, estado, categ_id, @count from index where match('@(key) something') group by user_id;&lt;br /&gt;
+----------+--------+---------+---------------------+--------------------------+----------+--------+&lt;br /&gt;
| id       | weight | user_id | estado              | nomeabrev                | categ_id | @count |&lt;br /&gt;
+----------+--------+---------+---------------------+--------------------------+----------+--------+&lt;br /&gt;
| 1 |   1697 |  1 | Goiás              | Some user         |        2 |      4 |&lt;br /&gt;
| 8 |   1691 |   9 | Paraíba            | Other user       |        2 |      4 |&lt;br /&gt;
| 12 |   1691 |  5 | Rio Grande do Sul   | User &lt;a href=&quot;http://www.sphinxsearch.com/bugs/view.php?id=5&quot;&gt;0000005&lt;/a&gt;   |        1 |      1 |&lt;br /&gt;
| 29 |   1691 |  2 | Rio de Janeiro      | Last User here   |        3 |      7 |&lt;br /&gt;
&lt;br /&gt;
You can see estado and nomeabrev get reversed. Seems like a bug to me.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=580</guid>
<author>aurimas_m &lt;aurimas_m@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=580#bugnotes</comments>
</item>
<item>
<title>0000579: ODBC indexing crash, 32/64 bit issue; source code error spotted</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=579</link>
<description>Take a peak at:&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/sphinxsearch/source/browse/trunk/src/sphinx.cpp#22284&quot;&gt;http://code.google.com/p/sphinxsearch/source/browse/trunk/src/sphinx.cpp#22284&lt;/a&gt; [&lt;a href=&quot;http://code.google.com/p/sphinxsearch/source/browse/trunk/src/sphinx.cpp#22284&quot; target=&quot;_blank&quot;&gt;^&lt;/a&gt;]&lt;br /&gt;
&lt;br /&gt;
It is not difficult to see that a line there is duplicated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What I experience;&lt;br /&gt;
In the ODBC driver the *nullp pointer is basically made zero on the msb side of the integer. &lt;br /&gt;
&lt;br /&gt;
This introduces:&lt;br /&gt;
Hardware watchpoint 1: ((ODBCDescRec *) 0x7a61f0)-&gt;sql_desc_indicator_ptr&lt;br /&gt;
&lt;br /&gt;
Old value = (SQLLEN *) 0x79f978&lt;br /&gt;
New value = (SQLLEN *) 0xf978&lt;br /&gt;
CSphSource_ODBC::SqlFetchRow (this=0x76b920) at sphinx.cpp:22277&lt;br /&gt;
22277           ARRAY_FOREACH ( i, m_dColumns )&lt;br /&gt;
&lt;br /&gt;
I guess the 'idea' here is to make the stored value zero. This is not what is actually happening. Now I wonder several things.&lt;br /&gt;
&lt;br /&gt;
Please confirm:&lt;br /&gt;
1) tCol.m_dContents stores the pointer to the data in the ODBC records&lt;br /&gt;
2) tCol.m_dContents should shore a value of size SQLLEN and not char.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=579</guid>
<author>skinkie &lt;skinkie@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=579#bugnotes</comments>
</item>
<item>
<title>0000578: BuildExcerpts query_mode=true crashes searchd</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=578</link>
<description>If you set query_mode to true and run BuildExcerpts, searchd crashes. :(</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=578</guid>
<author>ajslater &lt;ajslater@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=578#bugnotes</comments>
</item>
<item>
<title>0000524: Random Crash</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=524</link>
<description>I am running Sphinx 1.10.1-dev (r2320) and getting some random crashes.&lt;br /&gt;
&lt;br /&gt;
Attached are both crash files and the log file as well. You will see&lt;br /&gt;
in the log file I am sending a SIGHUP every 10 minutes. This is to&lt;br /&gt;
&quot;force&quot; Sphinx to write the realtime index data to file, so when it&lt;br /&gt;
crashes, it does not lose the realtime index completely. I figured&lt;br /&gt;
this would be the best method until binary logging/recovery is added.&lt;br /&gt;
&lt;br /&gt;
I am not sure if the SIGHUP has anything to do with the crash.. I expect it is something completely different since it never had crashed until a few minutes after issuing SIGHUP to searchd. It must have something to do with a query, even though the queries I was testing were all alike.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=524</guid>
<author>bompus &lt;bompus@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=524#bugnotes</comments>
</item>
<item>
<title>0000518: MySQL times out while indexing and aborts indexer.</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=518</link>
<description>When indexing large amount of data(&lt;a href=&quot;http://www.sphinxsearch.com/bugs/view.php?id=432#c594&quot;&gt;Note: 0000594&lt;/a&gt; 935 116 rows) indexer loses it's connection to MySQL. Instead of reconnecting, indexer aborts and I have to start the indexing from scratch. Since this ALWAYS occurs when I'm about half way through(2-3 hours of indexing) I'm not able to complete this index.&lt;br /&gt;
&lt;br /&gt;
I've attempted to patch it myself with adding MYSQL_OPT_RECONNECT to the MySQL connect-function, but it does not solve the problem.&lt;br /&gt;
&lt;br /&gt;
Error message is:&lt;br /&gt;
ERROR: index 'messages': sql_fetch_row: Lost connection to MySQL server during query.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=518</guid>
<author>andrer &lt;andrer@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=518#bugnotes</comments>
</item>
<item>
<title>0000577: Disk space never reclaimed when using RT (real-time) indexes</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=577</link>
<description>The RT indexes only grow in size even when REPLACE INTO is used to insert exactly the same data, or a DELETE FROM is used to delete all rows one by one before reinserting them.&lt;br /&gt;
&lt;br /&gt;
Here's the disk space usage after the insertion of about 700K rows:&lt;br /&gt;
&gt; du -sk /usr/local/var/sphinx_rt/&lt;br /&gt;
387740  /usr/local/var/sphinx_rt/&lt;br /&gt;
&lt;br /&gt;
Disk usage after replacing the same data with REPLACE INTO:&lt;br /&gt;
&gt; du -sk /usr/local/var/sphinx_rt/&lt;br /&gt;
811188  /usr/local/var/sphinx_rt/&lt;br /&gt;
&lt;br /&gt;
Disk usage after (supposedly) deleting all data with DELETE FROM, one by one row, and exiting searchd to flush the RAM data:&lt;br /&gt;
&gt; du -sk /usr/local/var/sphinx_rt/&lt;br /&gt;
811908  /usr/local/var/sphinx_rt/&lt;br /&gt;
&lt;br /&gt;
Disk usage after re-inserting all data again and shutting down searchd:&lt;br /&gt;
&gt; du -sk /usr/local/var/sphinx_rt/&lt;br /&gt;
1234108 /usr/local/var/sphinx_rt/</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=577</guid>
<author>kmike &lt;kmike@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=577#bugnotes</comments>
</item>
<item>
<title>0000557: SphinxQL: QUOTED_STRING not parsed correctly</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=557</link>
<description>The following queries are parsed successfully:&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM index WHERE MATCH('abc xyz');&lt;br /&gt;
SELECT * FROM index WHERE MATCH('&quot;abc xyz&quot;');&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But the following queries yield a syntax error (unexpected $end near '')&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM index WHERE MATCH('&quot;abc xyz');&lt;br /&gt;
SELECT * FROM index WHERE MATCH('&quot;abc xyz&quot; &quot;');&lt;br /&gt;
&lt;br /&gt;
In general, un uneven number of quotes seems to cause a syntax error.</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=557</guid>
<author>Steffen &lt;Steffen@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=557#bugnotes</comments>
</item>
<item>
<title>0000576: libsphinxclient improperly handling max=0 in SetLimits()</title>
<link>http://www.sphinxsearch.com/bugs/view.php?id=576</link>
<description>This error duplicate of &lt;a href=&quot;http://www.sphinxsearch.com/bugs/view.php?id=208&quot;&gt;0000208&lt;/a&gt; but I have same error with Sphinx 0.9.9 (r2117; Dec 02, 2009) version.&lt;br /&gt;
&lt;br /&gt;
When I use SetLimits(0,10) sphinx give this error:&lt;br /&gt;
per-query max_matches=0 out of bounds (per-server max_matches=1000)</description>
<guid>http://www.sphinxsearch.com/bugs/view.php?id=576</guid>
<author>ozgurkuru &lt;ozgurkuru@example.com&gt;</author>
<comments>http://www.sphinxsearch.com/bugs/view.php?id=576#bugnotes</comments>
</item>
</channel>
</rss>
