vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   minimum word length in search (https://vborg.vbsupport.ru/showthread.php?t=149987)

Distance 06-18-2007 08:30 AM

minimum word length in search
 
I like the way that 3.6.6+ now tells you why it hasn't found any search results (because of the minimum word length)

However I dislike the way it doesn't search if only one term is under the minimum.

Eg: If I search for Admin login as user it won't go ahead with the search because the word as is there.

I think it should complete the search however on the results page it should tell you the following words were not included in your search.

Distance

Staxed 06-18-2007 09:39 AM

I definitely agree with this one, not as just a feedback for this site...but for vb in general.

Paul M 06-18-2007 10:13 AM

You need to post such a suggestion on vb.com, not here.

Distance 06-18-2007 10:22 AM

Yeah I have done. It will be a while till they release the next version though. Unless there is another exploit. Especially after the ordeal of the last 3 released lol

Distance 07-05-2007 07:59 PM

Okay, I posted it over there but why not change your settings here to 2 but still have the mysql field set to 3.

That way people won't get errors when searching but it won't bring back all the results for two lettered words either :)

Distance

Marco van Herwaarden 07-06-2007 08:48 AM

The minimum word length is a MySQL setting, and rebuilding the searchindexes with a different length would mean that all our forums would be down for many hours.

I don't see this changed in the near future.

hambil 07-06-2007 04:18 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1284200)
The minimum word length is a MySQL setting, and rebuilding the searchindexes with a different length would mean that all our forums would be down for many hours.

I don't see this changed in the near future.

This is not a mysql problem. It's a vb problem. The problem being stated is that if any word in a phrase is below the minimum word length no results are returned. So, if I search for 'Login as User' I get nothing, because 'as' is too short.

This can be dealt with by removing the 'as' before even sending the query, and displaying in the search results that the 'as' was removed due to being below the minimum word length. It's a bug, flat out.

Marco van Herwaarden 07-07-2007 06:33 AM

If it is a bug or not i don't know. But feel free to post it in either the bug tracker or the suggestions forum at vb.com.

hambil 07-07-2007 06:39 AM

Quote:

Originally Posted by Marco van Herwaarden (Post 1284976)
If it is a bug or not i don't know. But feel free to post it in either the bug tracker or the suggestions forum at vb.com.

I believe the original poster did so. I just wanted to call attention to it, because there is a common request for a change to minimum search length that gets the 'that is just how mysql works' canned response (which it should), and that was the response this was getting here - whereas it's really a different issue. That's all, thanks :)

Dismounted 07-07-2007 07:01 AM

Quote:

Originally Posted by hambil (Post 1284471)
This can be dealt with by removing the 'as' before even sending the query, and displaying in the search results that the 'as' was removed due to being below the minimum word length. It's a bug, flat out.

I've seen this hack on a vBulletin before, trying to work out how they did it :p.


All times are GMT. The time now is 04:59 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.00974 seconds
  • Memory Usage 1,736KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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