vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   'ad' is too short a word (https://vborg.vbsupport.ru/showthread.php?t=216567)

Carnage 06-19-2009 03:53 PM

'ad' is too short a word
 
vborg search dosn't permit the word ad (and presumable ads) These are words people may search for wanting mods for ad managers/systems. Its a quick fix i think... can someone do it?

HMBeaty 06-19-2009 03:57 PM

Then again, if you put ad* it works ;)

Paul M 06-19-2009 05:58 PM

Quote:

Originally Posted by Carnage- (Post 1832760)
Its a quick fix i think... can someone do it?

No, it isnt, and no, we cant. :)

mikey1991 06-19-2009 07:03 PM

As redline put, you can make the search a wildcard search, by typing ads* or ad* as the asterix (* <- that thing there) makes it into a wildcard search and also helps make it pass the character limit :)

imported_silkroad 07-20-2009 11:08 AM

Quote:

Originally Posted by Paul M (Post 1832822)
No, it isnt, and no, we cant. :)

Yes, it is easy to fix.

You can override the search limitation with individual words in a vB forum. For example, if the limitation is 3 letters but you want folks to be able to search for "ad" you just place the word "ad" in the inclusion list.

Can't be easier or quicker now can it? :D

Marco van Herwaarden 07-20-2009 11:33 AM

In that case please surprise us with your solution.

Dismounted 07-20-2009 11:43 AM

You can't override the server-level configuration for MySQL Fulltext Searching...

imported_silkroad 07-20-2009 11:52 AM

1 Attachment(s)
OK, be surprised. :D

The original poster said:

Quote:

vborg search dosn't permit the word ad (and presumable ads) These are words people may search for wanting mods for ad managers/systems. Its a quick fix i think... can someone do it?
All the admins have to do is put the word "ad" in the "Words to be Included Despite Character Limit" section of the vB options.

(screenshot of vB AdminCP attached)

imported_silkroad 07-20-2009 11:57 AM

Quote:

Originally Posted by Dismounted (Post 1852129)
You can't override the server-level configuration for MySQL Fulltext Searching...

It is not difficult to change the server level configuration, for example see:

11.8. Full-Text Search Functions

--------------- Added [DATE]1248094897[/DATE] at [TIME]1248094897[/TIME] ---------------

Actually, this is a better example reference:

11.8.6. Fine-Tuning MySQL Full-Text Search

Quote:

The minimum and maximum lengths of words to be indexed are defined by the ft_min_word_len and ft_max_word_len system variables. (See Section 5.1.3, “Server System Variables”.) The default minimum value is four characters; the default maximum is version dependent. If you change either value, you must rebuild your FULLTEXT indexes. For example, if you want three-character words to be searchable, you can set the ft_min_word_len variable by putting the following lines in an option file:

[mysqld]
ft_min_word_len=3


Then you must restart the server and rebuild your FULLTEXT indexes. Note particularly the remarks regarding
Pretty easy, don't you agree?

--------------- Added [DATE]1248095090[/DATE] at [TIME]1248095090[/TIME] ---------------

I would venture to say that the entire change to the MySQL conf takes 15 seconds and the vB options config takes 15 seconds.

There will be a little more time for MySQL to rebuild the index after restart :-)

Marco van Herwaarden 07-20-2009 12:14 PM

Quote:

Originally Posted by imported_silkroad (Post 1852133)
OK, be surprised. :D

The original poster said:



All the admins have to do is put the word "ad" in the "Words to be Included Despite Character Limit" section of the vB options.

(screenshot of vB AdminCP attached)

The vB Options don't work if you are using MySQL Full text search, these options only work if you are using the vB internal search


All times are GMT. The time now is 09:23 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.01788 seconds
  • Memory Usage 1,738KB
  • 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
  • (6)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