|
-
Jan 23rd, 2001, 09:33 PM
#1
Thread Starter
Frenzied Member
When i try to search the forums, why do I get this message?!
vBulletin Message
Sorry. The search function has been disabled by the administrator.
Oh, and how do you get an image below your username in posts?
-
Jan 23rd, 2001, 09:35 PM
#2
New Member
You get that message because right now, the search tends to spike the server... at least when your return 5800 results. 
And it's the avatar part of your options.
-
Jan 23rd, 2001, 09:58 PM
#3
Thread Starter
Frenzied Member
I searched the topic before and returned no where near 5800 results. More like 500 or so.
-
Jan 23rd, 2001, 10:00 PM
#4
Thread Starter
Frenzied Member
When will the server be able to handle it?
-
Jan 23rd, 2001, 10:51 PM
#5
Thread Starter
Frenzied Member
I just want to let you know that this is frustrating as hell.
-
Jan 24th, 2001, 12:04 AM
#6
New Member
-
Jan 24th, 2001, 02:48 AM
#7
Thread Starter
Frenzied Member
I'm calm, DUDE.
-
Jan 24th, 2001, 05:51 AM
#8
I agree with wey97, not having search is getting frustrating! I'm looking for a post made a few days ago by someone and do you think I can find it?
Anyway, the new format looks good, my compliments.
-
Jan 24th, 2001, 10:40 AM
#9
Thread Starter
Frenzied Member
Yeah, the new layout looks good.
The search is still not working though.
-
Jan 25th, 2001, 11:53 AM
#10
Hyperactive Member
Any found the needle yet?
This site helps me immensely... but I have found that with no search feature, finding something is like the old needle/haystack addage.
When will the search be working again?
-
Jan 25th, 2001, 01:13 PM
#11
Thread Starter
Frenzied Member
I agree. They said it would be fixed days ago.
-
Jan 25th, 2001, 01:39 PM
#12
Originally posted by wey97
I agree. They said it would be fixed days ago.
You guys really need to lay off of it.
The search has been "fixed". John turned it off just in case it still had any lingering problems and he was going to turn it back on. Something came up and he is away at the moment so that is why it is still off.
-
Jan 25th, 2001, 02:50 PM
#13
Hyperactive Member
Thanks for fixing this.....you guys are GREAT!
-
Jan 25th, 2001, 03:06 PM
#14
Fanatic Member
Yup - they're back online now. Not all the posts have been indexed yet, so they are being done at the moment. If things seem a little slower, that is probably the reason.
All posts since vbulletin 2 was installed have been indexed, and about 20% of those from previously posted too.
John
-
Jan 25th, 2001, 04:06 PM
#15
Member
what do you mean indexed??
don't you just have to search through the messages?
$res = $DB_Site->query("SELECT from post where pagetext='%$searchboxname%');
sorry if thats a stupid question... I don't know much about MySQL at the moment..
-
Jan 25th, 2001, 04:09 PM
#16
Hyperactive Member
Originally posted by Benjamin
$res = $DB_Site->query("SELECT from post where pagetext='%$searchboxname%');
Wouldn't that be like instead of = ?
$res = $DB_Site->query("SELECT from post where pagetext like'%$searchboxname%');
-
Jan 25th, 2001, 04:10 PM
#17
New Member
No, the search method has completely changed. THAT method is the one that tends to kill servers. 
I had John stop indexing for a moment and ran a search that returned 16000 posts in about 2.2 seconds.
-
Jan 25th, 2001, 04:11 PM
#18
Hyperactive Member
-
Jan 25th, 2001, 04:12 PM
#19
New Member
Yes, it would be LIKE, but we actually used INSTR before because it was faster anyway. (It's case sensitive though)
-
Jan 25th, 2001, 04:15 PM
#20
Hyperactive Member
How do you handle the case sensitivity..change everything to Ucase then do the instr check??
-
Jan 25th, 2001, 04:28 PM
#21
Member
-
Jan 25th, 2001, 04:56 PM
#22
Thanks John for fixing search. I find it really useful. Keep up the good work.
-
Jan 25th, 2001, 11:18 PM
#23
New Member
Originally posted by barrk
How do you handle the case sensitivity..change everything to Ucase then do the instr check??
Both methods store all the data in all lower case. But "pattern matching" (LIKE is just a simple regex) is incredibly slow. Now have it look through the text indexes of 50000 threads, and... well, I'm sure you can see the problem there. 
Now it works with integers and a simple relationship. I'm not going to go into details though - I'll leave the up to John.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|