The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#171
|
|||
|
|||
Eh, I'm not sure it is needed. Since my main site isn't 3.6 yet (tonight is the upgrade), I had my sphinx looking at my live data, and my vb install looking at a test db (with older data).
The dateline column on thread was added in 3.6, which is why I think it was broken. I'll know more tonight when we upgrade Were you running into the dateline error on thread title? |
#172
|
|||
|
|||
I thought "dateline" was the internal name for whatever field you have defined as the sql_date_column. But it looks like that isn't the case. I wonder why there even still is an sql_date_column. Because the new SetSortMode() can take ANY column. This confused me a bit.
|
#173
|
|||
|
|||
Ahh, you are right. I updated my sphinx.php and it seems better now.
|
#174
|
|||
|
|||
It's still bugged. Lemme figure this out. When I fix one the other breaks. Haha.
|
#175
|
|||
|
|||
Hm, getting something similar targeting a specific forum with an "entire posts" search:
Warning: assert() [function.assert]: Assertion failed in /sphinxapi.php on line 284 Query failed: searchd error: index 'vbpost': sort-by attribute 'lastpost' not found. Again, could be my currently messed up setup, it is hard to tell until I get the upgrade done tonight Edit: haha didn't see that something else was broken. I'll leave the testing to you hehe |
#176
|
|||
|
|||
Quote:
Also, better replace "docinfo = inline" with "docinfo = extern" if you have RAM to spare, according to sphinx.conf.dist. Check the relevant section. |
#177
|
|||
|
|||
Okay, I had to add a new variable (that gets modified by whether you search in threads or posts) and now a much nice sorting code block.
http://dragy.de/public/sphinx/sphinx.php.txt I tried all four combinations so it must work now!? Did I say this before? Hmm, about the docinfo, gonna have a look. We're only gifted with 2GB RAM for our forums and in a few months we'll have 2 million posts. Not good. I'll make a note in the installation. |
#178
|
|||
|
|||
The box I'm running sphinx on has 2gb of ram (it is just a slave db server). MySQL has been using a ton of memory lately because we're slaving searches to it, but after we switch to sphinx tonight I think it'll even out a lot. I'm thinking that extern might be better (we have 25 million posts). I'm not entirely sure, but I guess I can try both ways w/o much reconfiguration
|
#179
|
|||
|
|||
Quote:
( 1 + 5) * 1.5 million posts * 4 bytes = 34 megabytes. Might be worth keeping external, you're right. I'm running everything on one box, so I'm kinda really short on ram, but 34mb seems to be doable. |
#180
|
|||
|
|||
Hm, 600mb for 25 million posts, I guess I'll give it a shot
So, we just rolled out our sphinx search. All is well, but some users are reporting a ton of warnings after clicking submit and before they get their results. I'm not exactly what is causing it, but the error is: Warning: in_array() [function.in-array]: Wrong datatype for second argument in /includes/sphinx.php on line 142 Looks as though $sphinx_conventry_id is not getting set on this line? if (!can_moderate($docinfo['attrs'][$sphinx_can_moderate_forumid]) AND in_array($docinfo['attrs'][$sphinx_conventry_userid], $Coventry)) Any thoughts? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|