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 09:56 PM

Yikes. Okay, well is there any way I could allow a 3 character search? What about if I use the "built in default search"?

snakes1100 02-17-2009 09:59 PM

u can switch it back to the vb search and set the limit in the admincp as suggested above by banana.

dismas 02-17-2009 10:14 PM

If you know that you'll only have a limited number of three letter words that users would search for, you can put them in the "Words to be Included Despite Character Limit" field. That way your board won't index common words such as "the, for, way, you, can, put, not, fix, yes, and" and so on.

Shamil. 02-18-2009 12:08 AM

Quote:

Originally Posted by dismas (Post 1747332)
If you know that you'll only have a limited number of three letter words that users would search for, you can put them in the "Words to be Included Despite Character Limit" field. That way your board won't index common words such as "the, for, way, you, can, put, not, fix, yes, and" and so on.

Is there some sort of a hack to get round this?

dismas 02-18-2009 12:55 AM

Quote:

Originally Posted by ct2k7 (Post 1747407)
Is there some sort of a hack to get round this?

What do you mean? If you're using the default vB search, you just have to put the three-letter words that you want added to the search index into the field that I mentioned, "Words to be Included Despite Character Limit".

For instance, I run an automotive/offroad forum, so I have things like O2, ATV, ABS, and fan included in the search database while my minimum character limit is set to 4 characters. So those words are still able to be searched for even though my limit is 4. No hack necessary.


All times are GMT. The time now is 09:01 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.02217 seconds
  • Memory Usage 1,722KB
  • 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
  • (2)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
  • (5)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