vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I allow a 3-character search? (https://vborg.vbsupport.ru/showthread.php?t=205705)

gle041 02-17-2009 07:21 PM

How do I allow a 3-character search?
 
Currently my vBulletin won't let me search for anything 3 characters or less.

How can I allow a 3 character search?

Running vB 3.7.3

Thanks in advanced!

bananalive 02-17-2009 07:24 PM

AdminCP -> vbulletin options -> Message Searching Options -> Search Index Minimum Word Length

gle041 02-17-2009 08:22 PM

Thank you, I just did that but now when I search for a 3 character word that I know should have results it says nothing found. Why is this?

Do I have to rebuild something?

Thanks.

dismas 02-17-2009 08:41 PM

If you go to Maintenance > Update Counters > Rebuild Search Index, I'm pretty sure that will do what you want.

gle041 02-17-2009 09:37 PM

Just did that, still not coming up with results. In the settings I was told to change in the second post, I noticed it says "MySQL Fulltext has its own minimum word length as well that must be changed at the server level." on the page as well. Is that something I need to do?

snakes1100 02-17-2009 09:38 PM

Quote:

Originally Posted by bananalive (Post 1747195)
AdminCP -> vbulletin options -> Message Searching Options -> Search Index Minimum Word Length

This only applies if your using the vbulletin built in default search.

If your using MySQL FULLTEXT search, you need to apply new settings to my.cnf and restart MySQL.

ft_min_word_len = 3
ft_max_word_len = 25

gle041 02-17-2009 09:40 PM

Okay, under my search type it says "Your forum is currently using the Fulltext search engine. "

How would I do what you said above?

Thanks a bunch for your help!

snakes1100 02-17-2009 09:50 PM

ssh into server.

depending on system

RH, CentOS
nano /etc/my.cnf

Debian
nano /etc/mysql/my.cnf

Add those two variables i posted above to the [mysqld] section.

ctrl+x
answer yes
hit return

Then type one of the following, again dependent on system.
service mysql restart
service mysqld restart
/etc/rc.d/init.d/mysql restart
/etc/rc.d/init.d/mysqld restart
/etc/init.d/mysql restart
/etc/init.d/mysqld restart

gle041 02-17-2009 09:53 PM

I don't think I have access to do that, I'm on a shared hosting plan from LunarPages. Would I need to contact them?

snakes1100 02-17-2009 09:54 PM

yes you would.

i doubt they will change it for you tho.


All times are GMT. The time now is 09:21 AM.

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.01049 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete