Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #461  
Old 12-06-2007, 01:29 PM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guys, the bulk of the "slowdown" is/was simply the search of the post fulltext index. If your system lags doing other things (like finding all posts by username - with no query text) then you should probably look into optimizing MySQL and/or getting a little bit beefer hardware.

Searching by tag or prefix + keyword shouldn't be too much of an issue. You should be able to add tag info to sphinx and can add a conditional. Alternately you could just search the sphinx index for all results then run a seconday query afterwards pruning out the results that don't match a tag or prefix.

I do plan on upgrading to vB 3.7, so I am definitly going to make sphinx work.
Reply With Quote
  #462  
Old 12-06-2007, 01:49 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think what this needs is some heroic person to go through this thread, and cherry pick the best ideas and release a full hack with complete instructions for the hopeless but enthusiastic users of Sphinx like me.
Reply With Quote
  #463  
Old 12-06-2007, 02:01 PM
weinstoc weinstoc is offline
 
Join Date: Apr 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We are using Sphinx search following the instructions elsewhere in this thread (including the config file example, etc.) However phrase search does not seem to work right. If I search for "one two" I get what I would expect for "one" AND "two" instead of "one" ADJACENT TO "two".

Is there a configuration parameter that can fix this? It's quite annoying.

Chuck
Reply With Quote
  #464  
Old 12-06-2007, 11:48 PM
weeno weeno is offline
 
Join Date: Jan 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by weinstoc View Post
We are using Sphinx search following the instructions elsewhere in this thread (including the config file example, etc.) However phrase search does not seem to work right. If I search for "one two" I get what I would expect for "one" AND "two" instead of "one" ADJACENT TO "two".

Is there a configuration parameter that can fix this? It's quite annoying.

Chuck

In my limited testing of this, you would need to use Extended Query syntax:

see: http://www.sphinxsearch.com/doc.html#extended-syntax

which is a modifcation to the code (which is simple)... but then you need to be able to use quotes

"one two" for example.

And I think vb search somehow strips the quotes and doesn't get passed to sphinx, since this phrase searching doesn't work even if you turn on Extended Syntax. I was going to look into it, but never found the time.

arn
Reply With Quote
  #465  
Old 12-07-2007, 08:52 AM
Deriel Deriel is offline
 
Join Date: May 2005
Location: Curitiba/PR - Brazil
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eoc_Jason View Post
Guys, the bulk of the "slowdown" is/was simply the search of the post fulltext index. If your system lags doing other things (like finding all posts by username - with no query text) then you should probably look into optimizing MySQL and/or getting a little bit beefer hardware.

Searching by tag or prefix + keyword shouldn't be too much of an issue. You should be able to add tag info to sphinx and can add a conditional. Alternately you could just search the sphinx index for all results then run a seconday query afterwards pruning out the results that don't match a tag or prefix.

I do plan on upgrading to vB 3.7, so I am definitly going to make sphinx work.
I think there are people here, like me, that would be glad to donate to such project. And I do not need a "complete add-on" (ok, that would be cool), just a way to make vB 3.7 work with Sphinx with all new fluffy stuff (mainly tags and thread prefixes)

Reply With Quote
  #466  
Old 12-07-2007, 02:33 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mute View Post
Is it me, or were they sort of insinuating that they were going to support Sphinx unofficially (like memcache) in 4.0?
Sphinx is supposed to make it into MySQL Falcon as default module, so vBulletin will support it, IMO.
I mean, why not use a good piece of software if it is part of MySQL already?
Reply With Quote
  #467  
Old 12-18-2007, 04:14 PM
kerplunknet kerplunknet is offline
 
Join Date: Jul 2002
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys, what happened to the instructions to set this up with vBulletin 3.6? Did the post get removed? If anyone could provide this again or point my in the right direction, that would be much appreciated.

Thanks!
Reply With Quote
  #468  
Old 12-18-2007, 05:05 PM
mlx's Avatar
mlx mlx is offline
 
Join Date: Jan 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kerplunknet View Post
Hey guys, what happened to the instructions to set this up with vBulletin 3.6? Did the post get removed? If anyone could provide this again or point my in the right direction, that would be much appreciated.

Thanks!
The instructions are still here: https://vborg.vbsupport.ru/showpost....&postcount=387

Would be great if a moderator could add a note to the first post in the thread
Reply With Quote
  #469  
Old 12-18-2007, 07:56 PM
kerplunknet kerplunknet is offline
 
Join Date: Jul 2002
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is what I was looking for. Thank you very much
Reply With Quote
  #470  
Old 12-19-2007, 02:28 PM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have to remember though that vBulletin has to maintain backwards compability as most people are not running bleeding edge versions of PHP or MySQL. While search performance is a serious issue that the vB team has yet to address, I hope that they do offer some advanced choices for people that do know what they are doing. In short, it never hurts to hope, but don't hold you breath.

Probably next week since things will be slow and I'll be bored I'm going to download the 3.7 beta and take a look at the search code. But I'm not going to post anything based on 3.7 until it is actually released. I do plan on upgrading my forum to it as soon as it is stable / release, so you know I will be getting sphinx to work on it asap.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06469 seconds
  • Memory Usage 2,283KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete