The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#611
|
|||
|
|||
Confirmed as working on vBulletin 3.7.2 Patch Level 1
cron: postdelta - 5min threaddelta - 5min reindexed nightly Seem to ran into one issue tho of only returning 500 results when searching for posts by a user with 15k, found a hard limit set to 500 in sphinx_search, raised that limit to 20000 to match everything else. Odd enough it now returned only 1000 results, which still isn't right, as there is no other limit set to 1000, will have to chk it out some more. Full index & restart didn't help. Note, found the 1000 hard limit set in sphinxapi.php New search now returned 7100 posts by that user, missing about 8k in posts, back to the drawing board. Showing results 1 to 25 of 7074 Search took 0.52 seconds. 6 million post board w/about 2500 online. Add-on: Seems i may have found a bug someplace, ill post part of the error, if orban or anyone wants the full error msg i have it saved, but doing a search for a keyword that has only about 3500 results produced a duplicate key entry and a db error page, after, the browser reported a script still running error and wouldnt let me refresh the page, FF stopped the script and then a refresh cured the db error page, doing the search again for the same keyword resulted in a good search & no error. Code:
Invalid SQL: INSERT INTO search (userid, titleonly, ipaddress, personal, query, searchuser, forumchoice, /*prefixchoice,*/ sortby, sortorder, searchtime, showposts, orderedids, dateline, searchterms, displayterms, searchhash, completed) VALUES (641509, 0, '', 1, 'bollywood', '', '', 'lastpost', 'DESC', 0.10879, 0, ### SAVE ORDERED IDS TO SEARCH CACHE ###; MySQL Error : Duplicate entry '0089875ee33efd9d611cfff6ca28d9e4-lastpost-DESC' for key 2 Error Number : 1062 |
#612
|
|||
|
|||
It appears that Sphinx will be included in vB 4.0
http://www.vbulletin.com/forum/showp...92&postcount=7 |
#613
|
||||
|
||||
Quote:
Here is how to duplicate it: 1) Use no search terms 2) Enter a valid username 3) Choose "Threads started by user", and check Exact Name 4) View results as posts The function's affected lines are here (strpos is the affected line): PHP Code:
PHP Code:
Beyond that, the search is working fine on our test forum...and I'm anxious to run this on our live forum as soon as I can get this ironed out. |
#614
|
|||
|
|||
Sorry for being a total dunce but..
Does the Sphinx search display its results in an "in line" VB format? (so that in line moderation actions may be applied to selected results?) Reason I ask is - right now I have Google custom search + the regular VB search + TAG search.. Newbies probably just use the Google CS as its the first box in the drop down menu - but that doesnt give moderators any tools to work with the results and do any 'in line' moderation (merging, renaming, changing prefixes, tagging etc) Power users probably use both.. Regular users are probably confused about what to use... The Google Custom Search is great for searching phrases But its not a very clear solution with the various options - its a bit irksome that I may have to write a how to search guide that advises when to use what search engine..:down: 2 + million posts - is it time for Sphinx? Is it a good 'all in one solution with an "in line" moderation functionality? Server speed / load isn't an issue here, my quest is purely to improve search quality for the forum members. Thanks in advance.. Sorry if this butts in... or is OT. --------------- Added [DATE]1219333047[/DATE] at [TIME]1219333047[/TIME] --------------- Quote:
|
#615
|
|||
|
|||
We just upgraded from vBulletin 3.6.10 / Sphinx 0.9.7 to vBulletin 3.7.3 / Sphinx 0.9.8 using the scripts provided here. The sort order when displaying results as threads seems to be messed up now. I believe in our old setup we had this fixed by using the sort_search_items() function on the result set. Is this function still available in vBulletin 3.7.3? If so, how do I implement it?
|
#616
|
||||
|
||||
Jah-Hools - Yes, the search hack here basically uses Sphinx indexes to find the results, which are then returned to the vB search process and displayed like internal search results...
If performance isn't an issue, then probably not worth trying to implement unless you have some spare time and are bored. Yes with sphinx you can use phrases and various expressions to make a much more powerful search (read the sphinx docs online, it goes into detail about that). However, you still occationally run into the issue of vBulletin liking to filter out some search results it thinks are not relevant... Jon - Yes that function is still in the functions_search.php file. I just came here to download the code someone posted using the new sphinx code + tag search... If I can intergate tag searching I will be happy... I'm still using the old code that uses a separate file and edits the search.php to make it run. I'm not sure if I'm ready to switch over or not, like I said I'm about to take a look. I had the sort_search_items in my existing code, and plan to keep that functionality in my new code. I'll post a file or instructions once I'm done. I can't believe I've waited this long to upgrade to vB 3.7.x, but I suppose it's time... I think it's great the vB team are finally addressing their search shortcomings and integrating in alternate search technologies... It doesn't take long for a site to reach a few million posts (especially with a lot of Off-Topic sites). |
#617
|
|||
|
|||
Quote:
I would like to chip in to this thread, especially with the aim to provide a real customer testimonial to TECK's sphinx solution. Our forums had been struggling with the vb-internal search at about 1 million posts, the mysql fulltext search gave in at around 2.5 million. At that point, the processes on our front ends would be just eating up resources, waiting for the responses from the sql backends, a sphinx solution had to come into play, stat. A nice chap that I found on here installed an implementation that followed the instructions from this thread, the solution was sufficient, lacked a lot of deep functionality though. I do not recall what branch I upgraded vB to in May, but the old sphinx implementation was just not cutting it anymore. I emailed TECK first about server optimization work, as my boxes were struggling badly during peak traffic times. It turned out that he had a sphinx solution of his own, he promised a commercial solution for large vB installs. I agreed to pay a premium price for it, which turned out to be the best investment I had yet done for my business and community. I realize that it is not within every webmaster's means to pay several thousand dollars for a custom software solution. However, considering the performance of the product and TECK's dedication to his customers, I have no regrets whatsoever. Due to the painful circumstance that my host doesn't give root to managed boxes, the install of the search and optimizing my servers was a real pain in the f***ing ass. TECK often spent long nights until 3am working to get the solution working in my tedious environment. If I am to spend thousands for code, I expect proper customer service, and TECK delivered. Now I have a perfectly working vB install and search solution with sphinx 0.9.8, my servers have now plenty of resources and room for future growth, and our members are delighted to have a fast and accurate, rock-solid search. Money well spent. Feel free to contact me if you have any other questions. |
#618
|
|||
|
|||
Quote:
And you're not alone in postponing upgrades. It took me years to upgrade from vBulletin 2.x.. I believe SA.com is still running that version. Heavily modified I'm sure, but still |
#619
|
||||
|
||||
I've been reading through these posts, but am wondering if there is a concise listing of the latest updates/guides to using Sphinx with vBulletin. I see that the first post was last modified in May 2008; have there been any bug-fixes/improvements on Sphinx with vBulletin since then?
|
#620
|
|||
|
|||
Has anyone had an issues with not all posts being indexed?
Tim |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|