php - SphinxQL Facet returns no more than 1000 results -
i have sphinx index , query via sphinx ql facets...
this sphinx ql query:
select id index_search match('refrigerator') order weight() desc limit 0,20 option max_matches=5000 facet category_id facet manufacturer_id facet store_id facet value_id limit 5000; select min(min_price), max(min_price) index_search match('refrigerator'); show meta
now returns results this:
array ( [0] => array ( [0] => array([id] => 3256) ... [19] => array([id] => 3242) ) [1] => array ( ... category filters ... ) [2] => array ( ... manufacturer filters ... ) [3] => array ( ... store filters ... ) [4] => array ( [0] => array ( [value_id] => 0 [count(*)] => 1146 ) ... [999] => array ( [value_id] => 221820 [count(*)] => 1 ) ) [5] => array ( [0] => array ( [min(min_price)] => 0.000000 [max(min_price)] => 0.000000 ) ) [6] => array ( [0] => array ( [variable_name] => total [value] => 5000 ) [1] => array ( [variable_name] => total_found [value] => 5099 ) [2] => array ( [variable_name] => time [value] => 0.009 ) [3] => array ( [variable_name] => keyword[0] [value] => refriger ) [4] => array ( [variable_name] => docs[0] [value] => 5099 ) [5] => array ( [variable_name] => hits[0] [value] => 9053 ) ) )
as can see shows first 1000 facet values value_id filter... while know have many more values it...
there bug reported , found solution:
http://sphinxsearch.com/forum/view.html?id=14339
and got sphinx upgraded following version:
sphinx 2.3.1-id64-beta (r4926)
but still same...
how can check if sphinx installation has bug fixed??
Comments
Post a Comment