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.

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

Quote:

Originally Posted by hambil (Post 1284984)
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 :)

Requesting a change in the minimum search word length, and stating that the way vBulletin works now is incorrect are 2 different things.

So if the question is still "Do you plan to reduce the minimum search lenght on a short term?", then the answer is No.

hambil 07-07-2007 08:07 AM

Quote:

Originally Posted by Marco van Herwaarden (Post 1285017)
Requesting a change in the minimum search word length, and stating that the way vBulletin works now is incorrect are 2 different things.

So if the question is still "Do you plan to reduce the minimum search lenght on a short term?", then the answer is No.

That was never the question. Quoting the first post:
Quote:

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.
As it states, and as I stated, the bug is that if a word that is too small is included in a search phrase, the entire phrase is ignored and no results are returned. "Login as User" returns no results, because of "as".

sunilvarma 07-07-2007 08:19 AM

i've seen this problem in other forum softwares too.

Distance 07-07-2007 10:41 PM

Marco I do not mean to change the mysql setting, I mean change your vB setting, that way when people search for words such as to, they do not get an annoying error but still the mysql server doesn't give any results for two charactered words.

Marco van Herwaarden 07-08-2007 07:49 AM

The vBulletin minimum search word length (and most other search related settings) have no effect when you are using the MySQL fulltext search. These only affect the buildin vB search type.

Distance 07-08-2007 10:56 AM

Sorry if you are misunderstanding me but I know it will have no effect unless the mysql one is also changed, however I am saying you should change it to two anyway so that people do not get an error such as this:

Quote:

The search term you specified (as) is under the minimum word length (3) and therefore will not be found. Please make this term longer. If this term contains a wildcard, please make this term more specific.

Dismounted 07-08-2007 11:44 AM

Check this out :)

https://vborg.vbsupport.ru/showthread.php?t=151675

Distance 07-08-2007 12:08 PM

Thanks :)

hambil 07-08-2007 01:04 PM

Quote:

Originally Posted by Dismounted (Post 1285744)

Nice :) Should have been unnecessary though. It's really a vb bug, and I don't know why that's being resisted so strongly. Good work, Dismounted :)

Distance 07-08-2007 02:27 PM

Its not a bug as it is intentional however I guess the guys just overlooked it

hambil 07-08-2007 02:36 PM

Quote:

Originally Posted by Distance (Post 1285834)
Its not a bug as it is intentional however I guess the guys just overlooked it

I don't see how it can be intentional behavior. There is more than one kind of bug. A functional bug is different than a code bug, but it's still a bug. The error path defined (the search term you specified is too short) is clearly intended for single word searches, and the functionality was never checked properly and planned properly for multi-word searches - or it was missed in testing. The way the offered hack handles it is the way pretty much every search engine I know of handles it.

Distance 07-08-2007 04:55 PM

I agree its very poor however I still believe that was the general idea when they made this, I'm sure with the next release they will fix this, as long as enough interest is shown here

Distance

Dismounted 07-09-2007 05:35 AM

They built all the phrases correctly, but somewhere along the way, someone "forgot".

tipoboy 07-09-2007 04:31 PM

this is seriously annoying to say the very least, as someone with not a lot of knoledge with php and html i try to search for options using the search facilty or search if i have problems within vbulletin to see if others have had similar problems as i, and maybe come up with a solution, thus eliminating the need for me to make a new post and hoping someone will answer it.

would it not be simpilar to install dismounted's system to stop this or modify the search options in the admincp

search index minimum word length = 2??

just a thought

DieselMinded 07-09-2007 04:42 PM

On my own board I changed the Minimal Letters to 1 because we have a select few threads i have marked with a "*" in front of the thread title ...

I then do a search for "*" in thread titles only and NOTHING !!!!

So im left to combing all my threads and finding them ,

BTW i turned the min to 3 ,

I hate the seach on this site , no matter what you search for the first page is the most resent posts on all the big threads , not to mention the fact that you have to leave out Key words Like

if and the

And any abbr......

AME DDD

To tell you guys the truth , I open google and do a search like this

vbulletin.org AME

and it finds it

the search feature here is almost worthless to me

Just my .02
DM


All times are GMT. The time now is 02:20 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.01120 seconds
  • Memory Usage 1,770KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete