Go Back   vb.org Archive > vBulletin Modifications > Premium Modifications > vBulletin Open Source Products > Sphinx
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
sphinx search and 3 character search Details »»
sphinx search and 3 character search
Version: , by pant pant is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 06-11-2010 Last Update: Never Installs: 0
 
No support by the author.

Currently on a shared hosting package.

Need to be able to search 3 characters in search ie "the YNC", I contacted the host and they said 'no can do'. Is it possible that if I use sphinx search I will be able to get this functionality?

Pro's and con's?

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-12-2010, 03:45 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would set the min word length in the sphinx.conf file, I believe. However, if you don't have access to change your my.cnf file, then it's unlikely you are going to be able to install sphinx on your server. You need a dedicated server that you have shell access to in order to install sphinx.
Reply With Quote
  #3  
Old 06-12-2010, 08:38 AM
pant pant is offline
 
Join Date: Mar 2010
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Poo
Reply With Quote
  #4  
Old 06-13-2010, 01:06 PM
we_are_borg we_are_borg is offline
 
Join Date: Jul 2004
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you want to search on characters smaller then 4 (3 and lower is excluded) then you need to use the "Words to be Included Despite Character Limit" this can be found in Settings>Options>Message Searching Options (vBulletin Internal Search) then add the words smaller then 4 in the box "Words to be Included Despite Character Limit". This way you can maintain the settings of search and still search for less then 4 characters.

The Sphinx addon you need at least SSH login and the ability to install on the server. This is usually not the case with normal web hosting, you need VPN hosting or VZ hosting to do that and even then you need to read what is allowed and what you may do with it.
Reply With Quote
  #5  
Old 06-13-2010, 01:19 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, the Message Searching Options is only to be used when using vBulletin Internal Search which is not an option in vB4. vB4 uses Full Text Search and the only way to change the min word length is by changing the mysql variable in my.cnf.
Reply With Quote
  #6  
Old 06-13-2010, 02:39 PM
we_are_borg we_are_borg is offline
 
Join Date: Jul 2004
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why is that information given in another screen and not where you input the 3 chars it self a bit strange not to warn there.
Reply With Quote
  #7  
Old 06-13-2010, 04:46 PM
pant pant is offline
 
Join Date: Mar 2010
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What was wrong with the DB search of the 3.8 series?
Reply With Quote
  #8  
Old 06-13-2010, 10:16 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by we_are_borg View Post
Why is that information given in another screen and not where you input the 3 chars it self a bit strange not to warn there.
It says it's for the Internal vBulletin Search. And if you check your search type under Settings > Search Type, it won't say Internal vBulletin Search. That being said, I have questioned why it is even shown now at all in vB4.
Quote:
Originally Posted by pant View Post
What was wrong with the DB search of the 3.8 series?
It doesn't allow for the contenttype search that they now do.
Reply With Quote
  #9  
Old 06-13-2010, 11:16 PM
we_are_borg we_are_borg is offline
 
Join Date: Jul 2004
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
It says it's for the Internal vBulletin Search. And if you check your search type under Settings > Search Type, it won't say Internal vBulletin Search. That being said, I have questioned why it is even shown now at all in vB4.

It doesn't allow for the contenttype search that they now do.
You mean the option on the "Message Searching Options (vBulletin Internal Search)" to put in 3 letter words. Now that you say that i wonder myself if you change the my.cnf file you can search 3 letter words so why maintain that option, thats a realy good one.
Reply With Quote
  #10  
Old 06-14-2010, 06:04 AM
pant pant is offline
 
Join Date: Mar 2010
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there even any documentation to that effect?
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 08:52 AM.


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.04163 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (5)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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