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

Reply
 
Thread Tools Display Modes
  #451  
Old 11-28-2007, 02:35 AM
weeno weeno is offline
 
Join Date: Jan 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone interested in modifying the "similar thread" search feature to utilize sphinx?

arn
Reply With Quote
  #452  
Old 11-28-2007, 02:56 PM
weinstoc weinstoc is offline
 
Join Date: Apr 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by weeno View Post
anyone interested in modifying the "similar thread" search feature to utilize sphinx?

arn
This brings up a (novice?) pre-install question for me. If I use Sphinx for searching my big board do I need to build the search index for similar threads to work? Does this use the fulltext index or the standard vB one? And if the fulltext one why bother with Sphinx. Won't the fulltext cause the load whether it's used for searching or similar threads?

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

Quote:
Originally Posted by weinstoc View Post
This brings up a (novice?) pre-install question for me. If I use Sphinx for searching my big board do I need to build the search index for similar threads to work? Does this use the fulltext index or the standard vB one? And if the fulltext one why bother with Sphinx. Won't the fulltext cause the load whether it's used for searching or similar threads?
Well, i've never kept similar thread search on, but if you were to keep it on with a large db, I'd think it would cause the same problems as regular search.

I'm not sure I understand what your question is. But I guess my answer is I don't have similar threads on because it will hurt performance, but if sphinx is used, I could potentially turn it on.

arn
Reply With Quote
  #454  
Old 11-28-2007, 06:58 PM
weinstoc weinstoc is offline
 
Join Date: Apr 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by weeno View Post
Well, i've never kept similar thread search on, but if you were to keep it on with a large db, I'd think it would cause the same problems as regular search.

I'm not sure I understand what your question is. But I guess my answer is I don't have similar threads on because it will hurt performance, but if sphinx is used, I could potentially turn it on.

arn
Thank you. That was what I suspected.

Chuck
Reply With Quote
  #455  
Old 11-28-2007, 08:21 PM
eoc_Jason's Avatar
eoc_Jason eoc_Jason is offline
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the functions_search.php file, locate the fetch_similar_threads() function.

You can bypass the stock search code and pass it to sphinx. You can have sphinx return relevancy scores so it should work.

I do not know how often similar threads are updated. Are they created only when the inital thread is, or checked with every reply? If you have a really large forum your similar threads might get stale rather quickly (assuming they are only searched on thread creation).

I'm working on a big re-write of the sphinx / vB search. Basically making it act more like google (or any real search engine for that matter).... I'll be sure to add in a clause for the similar threads though just to be complete.

When it's done I'll probably post the code here.
Reply With Quote
  #456  
Old 11-29-2007, 08:31 PM
andrewkhunn andrewkhunn is offline
 
Join Date: Feb 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eoc_Jason View Post
In the functions_search.php file, locate the fetch_similar_threads() function.

You can bypass the stock search code and pass it to sphinx. You can have sphinx return relevancy scores so it should work.

I do not know how often similar threads are updated. Are they created only when the inital thread is, or checked with every reply? If you have a really large forum your similar threads might get stale rather quickly (assuming they are only searched on thread creation).

I'm working on a big re-write of the sphinx / vB search. Basically making it act more like google (or any real search engine for that matter).... I'll be sure to add in a clause for the similar threads though just to be complete.

When it's done I'll probably post the code here.
Similar threads are only updated when the thread is created AFAIK. I have similar threads turned on with Sphinx, and I am pretty sure that Similar Threads is using FULLTEXT search with Sphinx ignoring everything it is doing currently.

Also, please code the aforementioned rewrite up with supprt for similar threads! This is hands-down the best mod for vBulletin right now and I can't imagine search being fixed before vBulletin 4.0 is released.
Reply With Quote
  #457  
Old 12-01-2007, 04:53 PM
mute mute is offline
 
Join Date: Dec 2002
Location: Phoenixville, PA
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, vB 3.7 features are out and look pretty darn cool.

However, still no sphinx support. If you go onto vB.com and look at the search page, it's quite different, and I have a bad feeling that our existing sphinx "addon" as it is referred to will not cut the mustard for those who decide to upgrade to 3.7 as opposed to waiting for 4.0.

Here's a post I made:

http://www.vbulletin.com/forum/showp...postcount=1697

Is it me, or were they sort of insinuating that they were going to support Sphinx unofficially (like memcache) in 4.0?

I'm at the point where come 3.7 I'd be willing to shell out some cash to get 100% of the vB search functionality (tags, find threads by user, find posts by user) all hitting sphinx.
Reply With Quote
  #458  
Old 12-01-2007, 07:09 PM
weeno weeno is offline
 
Join Date: Jan 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added a voice of support for sphinx in that thread.

I hope sphinx can get running in 3.7 easily.... as tags are another feature I have wanted for some time, and it looks very appealing.

Note that they seperated out tags from the search functionality in the most recent revision. So there's a separate tags.php file that handles it. Depending on how tags are implemented, this may be "ok" to keep separate and not need sphinx to take that functionality over.

arn
Reply With Quote
  #459  
Old 12-02-2007, 01:15 PM
amcd amcd is offline
 
Join Date: Oct 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not upgrading to 3.7 until sphinx search is available. It is going to be the single greatest factor for the decision.
Reply With Quote
  #460  
Old 12-02-2007, 09:47 PM
mute mute is offline
 
Join Date: Dec 2002
Location: Phoenixville, PA
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amcd View Post
I am not upgrading to 3.7 until sphinx search is available. It is going to be the single greatest factor for the decision.
In thinking about it, it's going to be ours too. We have a ton of other customs tuff but that typically doesn't take much work to upgrade. The sphinx stuff is just something we can't live without. I wish jelsoft would release unofficial support for it, I'm sick of the existing bugs we're running into and I don't have the time to support it myself.
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 12:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05351 seconds
  • Memory Usage 2,285KB
  • Queries Executed 14 (?)
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
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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