Site Info Open forum for the discussion of the S2K International site and organization. If you like what we're doing, post it here. If you don't, post it here too. Get answers to site related questions.

Search down?

Thread Tools
 
Old Dec 8, 2005 | 02:36 PM
  #1  
mrkim019's Avatar
Thread Starter
Registered User
20 Year Member
 
Joined: Dec 2000
Posts: 4,136
Likes: 0
From: Saratoga
Default Search down?

Is it?
Old Dec 8, 2005 | 02:42 PM
  #2  
xviper's Avatar
 
Joined: Mar 2001
Posts: 37,305
Likes: 18
Default

Use the one at the BOTTOM of the page.
Old Dec 8, 2005 | 02:49 PM
  #3  
cthree's Avatar
Administrator
20 Year Member
 
Joined: Oct 2000
Posts: 20,274
Likes: 4
From: Toronto, Canada
Default

um actually don't. The reason search doesn't work is that searches pile up and crash the server. That's why it's disabled at the top. I didn't disable it at the bottom because I forgot it was there.

Search is broken as the 15 other threads here indicate.
Old Dec 8, 2005 | 02:55 PM
  #4  
xviper's Avatar
 
Joined: Mar 2001
Posts: 37,305
Likes: 18
Default

Originally Posted by cthree,Dec 8 2005, 05:49 PM
I didn't disable it at the bottom because I forgot it was there.
Oops, trust us to find the "back door".
Old Dec 8, 2005 | 03:36 PM
  #5  
cthree's Avatar
Administrator
20 Year Member
 
Joined: Oct 2000
Posts: 20,274
Likes: 4
From: Toronto, Canada
Default

Well now that I said don't use it everyone will try to wring the last possible search out of it before it dies. That's one of the big problems with search, some guy does a search for "berlina black" in 3 forums which basically means make a copy temporary copy of the entire database and scan it post by post. The user thinks it stuck so goes back and hits submit again which makes an other copy temporary copy and so on it goes.

The search will work on very specific and well crafted keywords but that is not what people search for. Searching only specific forums only compounds the problem which is contrary to reason but not logic. Searches against all posts in all forum is orders of magnitude faster.

Until I can find a way for logic and reason to work in harmony search will be broken because what people search for the most is what takes the database the most effort to produce. When you start a search it runs to completion regardless of what you do on your browser. Start 10 searches each taking 10000 seconds or longer to complete and you've killed the server. Each new search makes all the rest slower until it spirals out of control and crashes. It is a snowball of discontent I don't know how to solve within our budgetary constraints.

[geekspeak]
All of the posts are stored in one table (or file). It's like an Excel spreadsheet with 6.5 million rows. When you search on that table you can use only one index or key. An index makes searching way way faster because the database maintains a catalog of key values and can jump straight to them. When you look up a name in the phone book, you first jump to the section for the first letter, and then the next and so on skipping what you don't need. That's indexing in a nutshell.

When you say show me posts matching "berlina black" in forum #1 you are asking to look up all the posts matching "berlina black" and then scan them from start to end for all those which are in forum #1. Searching for something like "berlina black" means match every single post containing any of those keywrords, put them in a temporary file and then scan from start to end picking out those which are in forum #1. Searching for "berlina black s2000" is even worse because the search become less specific not more. You are saying all posts containing "berlina" or "black" or "s2000". More matches, more results, more data to copy, more results to scan, more time.

Searching for "berlina black" takes 23 seconds. Searching for "berlina black" in S2000 Talk takes 23000 seconds. See the disconnect? The more specific you try to make the query the longer it takes. Reason dictates that by limiting the search to a subset of forums you will get better results and there will be fewer posts to look through and thus take less time. It's half right. You will get better results.
[/geekspeak]
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Chuck S
Site Info
11
Mar 1, 2016 05:22 AM
S2KNJ
Site Info
2
Apr 12, 2005 05:36 PM
gaddafi
UK & Ireland S2000 Community
0
Nov 2, 2002 04:07 PM
krazik
Site Info
0
Jul 13, 2002 10:52 PM
KeithD
S2000 Talk
2
Jun 11, 2002 06:55 AM




All times are GMT -8. The time now is 11:47 PM.