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.

Howto use Search Discussion

Thread Tools
 
Old Apr 15, 2005 | 08:53 AM
  #1  
MsPerky's Avatar
Thread Starter
Member (Premium)
20 Year Member
Community Influencer
Liked
 
Joined: Nov 2002
Posts: 45,152
Likes: 4,059
From: Arlington, VA
Default Howto use Search Discussion

Hmmm...I don't think mine was that complex. I was looking for the word "weekend" in the titles in Vintage for the past 180 days. But I'll review the criteria more closely.
Old Apr 15, 2005 | 01:44 PM
  #2  
cthree's Avatar
Administrator
20 Year Member
 
Joined: Oct 2000
Posts: 20,274
Likes: 4
From: Toronto, Canada
Default

Try searching for +weekend rather than just weekend

when you search for weekend what you are saying is "Find every topic that might have weekend in the title". It's optional. Yes I know that's retarded but it is the language used by the database engine for searching in full text. When you search for "+weekend" you are asking for all posts which have weekend in the title, not those which might have it.

Results are returned by score. If you say "weekend" then those topics with weekend in the title will score higher than those that don't (and appear first in the results). However those without weekend in the title are not eliminated from the results, they just score lower.

Searches with unqualified keywords (those without + or - or otherwise) will almost always cause the search to fail due to there simply being too many results. "weekend" without qualification will return every single topic. The extra criteria is only looked at after the keyword search from the results. Get it? It does make sense the problem is it's not conventional.

Translated to English your query is:

"Find all topics. Score those containing "weekend" in the title higher than the others. Eliminate all results that aren't in the Vintage forum and that are more than 180 days old. Show me the matches sorted by score in descending order."

Here are some examples and what you get:

"weekend party"

Find all topics, rank those containing the phrase "weekend party" above the others.

+"weekend party"

Find only topics containing the exact phrase "weekend party". Not weekend, not party not "weekend toga party".

+weekend party meet

Find only topics containing the keyword weekend. Rank those containing both keywords party and meet first, only containing party second and only containing meet third and everything else that's left after that.

+weekend meet -party

Find only topics containing the keyword weekend that don't contain the keyword party. Rank those containing the keyword meet above the rest.

HTH
Old Apr 15, 2005 | 01:47 PM
  #3  
MsPerky's Avatar
Thread Starter
Member (Premium)
20 Year Member
Community Influencer
Liked
 
Joined: Nov 2002
Posts: 45,152
Likes: 4,059
From: Arlington, VA
Default

Gotcha...thanks.
Old May 21, 2005 | 02:07 PM
  #4  
reecespieces's Avatar
Registered User
 
Joined: Mar 2001
Posts: 1,117
Likes: 1
From: Irvine
Default

Hi, I just tried searching for "monaco". I wanted to find this particular thread: https://www.s2ki.com/forums/index.php?showtopic=291783

Neither the Search site nor the quick search box in the upper right corner yielded this thread in the results. As you can see, monaco is in the body and the title. I tried searching in body and then in title. I tried pointing it to the Car Talk forum and it still didn't find it. I then tried using the thread poster's name and same result. I had zero results for all the searches until I switched the date to "Any Date"

Am I doing something wrong?
Old May 21, 2005 | 06:42 PM
  #5  
yogi's Avatar
Registered User
Gold Member (Premium)
20 Year Member
 
Joined: Oct 2000
Posts: 2,108
Likes: 0
From: Seattle, WA
Default

I'll be fixing the search code over the next week. Maybe then search will actually work .

You're not doing anything wrong, but try searching for "+monaco". The + requires all matches to have that word. I know it sounds stupid....and it is. It'll be fixed soon.
Old May 23, 2005 | 06:29 AM
  #6  
reecespieces's Avatar
Registered User
 
Joined: Mar 2001
Posts: 1,117
Likes: 1
From: Irvine
Default

Hi, I tried that too as soon as I got to this thread and saw cthree's response and the How to Search thread. It gave me the same results as without the plus.
Old Jun 22, 2005 | 04:11 AM
  #7  
Badger's Avatar
Registered User
 
Joined: May 2005
Posts: 19,640
Likes: 0
From: Edinburgh
Default

Are changes afoot as I type?

I'm getting SQL spat out at me
Old Jun 22, 2005 | 09:37 AM
  #8  
AquilaEagle's Avatar
Administrator
Gold Member (Premium)
20 Year Member
Liked
Loved
Community Favorite
 
Joined: Jan 2002
Posts: 95,183
Likes: 69
From: Heath & Reach, Beds, UK
Default

The little search box at the top of the forums has been refined, and is returning much better results now, using thread titles only for a quick search, and with no need to put + in. The Advance search (from the Search Button next to MyS2K) is still being worked on to optimise it.
Old Jun 22, 2005 | 11:06 AM
  #9  
Badger's Avatar
Registered User
 
Joined: May 2005
Posts: 19,640
Likes: 0
From: Edinburgh
Default

Still seeing the SQL here but now it returns results too

The SQL appears at the top of the "please wait etc" page if it's not intentional.

(Thats via the integrated search box by the way)
Old Jul 13, 2005 | 04:37 PM
  #10  
cthree's Avatar
Administrator
20 Year Member
 
Joined: Oct 2000
Posts: 20,274
Likes: 4
From: Toronto, Canada
Default

It's some debugging stuff that was left in. It does no harm so I haven't fixed it.



All times are GMT -8. The time now is 10:10 AM.