Quote:
Originally Posted by mlx
|
Thanks...
I just added this snippet from your file to the one I'm using:
Code:
if (!$vbulletin->GPC['showposts'] && $vbulletin->GPC['searchthreadid'] == 0 && $vbulletin->GPC['titleonly'] == 0)
{
// show results as threads
$cl->SetGroupBy('threadid', SPH_GROUPBY_ATTR);
// end show results as threads
}
That's pulling the proper number of results now. How else does that affect the search though since the results it's pulling seem to be much different. I'm comparing the new and old version of the sphinx.php.
And since moving to 0.9.8 from 0.9.7 I'm getting the following warnings when I start searchd:
Code:
WARNING: key 'strip_html' is deprecated in /etc/sphinx.conf line 12; use 'html_strip (per-index)' instead.
WARNING: key 'sql_group_column' is deprecated in /etc/sphinx.conf line 28; use 'sql_attr_uint' instead.
sql_group_column looks like I just rename any instances to sql_attr_uint, but strip_html looks like the new command html_strip might want some sort of other variable.
Or does anyone just have an updated 0.9.8 sphinx.conf file to share?