Notices

Conjunctive Searches?

Thread Tools
 
Search this Thread
 
Old 02-14-2005, 04:16 PM
  #1  
Phokaioglaukos
Rennlist Member
Thread Starter
 
Phokaioglaukos's Avatar
 
Join Date: Oct 2004
Location: Far, far away
Posts: 3,620
Received 60 Likes on 40 Posts
Default Conjunctive Searches?

Is it possible to search for two words, both of which must be present? I'd like to search for a source for a radio removal tool, but cannot figure out how to search for radio and removal. The default search seems to be radio OR removal, and that is overborad.
Old 02-21-2005, 12:10 AM
  #2  
jmporsche944
Rennlist Member
 
jmporsche944's Avatar
 
Join Date: Nov 2004
Location: Palm Springs
Posts: 2,289
Received 65 Likes on 20 Posts
Default

I think you put it in quotes.. like "radio removal"
Old 02-26-2005, 09:53 AM
  #3  
Phokaioglaukos
Rennlist Member
Thread Starter
 
Phokaioglaukos's Avatar
 
Join Date: Oct 2004
Location: Far, far away
Posts: 3,620
Received 60 Likes on 40 Posts
Default

Nope. Here's how that is parsed: "gt3 OR seat" OR leather.

There is so much great info here, but the search function is crippled, or not turned on!

Help!
Old 03-01-2005, 03:39 PM
  #4  
John D.
Banned
 
John D.'s Avatar
 
Join Date: May 1998
Location: Somewhere....
Posts: 10,005
Received 56 Likes on 36 Posts
Default

Hi Chris,

Actually - the SEARCH function works great - but, with nearly 2,000,000 posts to index containing multiple "words" - the search results are limited to the first 500 most relevant posts in the search return.

For example try this:

Open "advanced search" and search ONLY the 911 Forum. Use the exact prase:

transmission AND oil
and you will see about 65 threads are returned.

But - if you search:
transmission OR oil
you'll see that 500 threads are returned with the search words highlighted. Now - if you want to go beyond the 500 most relevant topics/posts - select "find posts from" to move the seach query back farther.

I'd suggest that if anyone gets 500 threads to read - they may want to tighten up their search terms a bit, as there isn't anyone who is going to read all 500 threads anyway

Best to you,

John
Old 03-01-2005, 03:49 PM
  #5  
Phokaioglaukos
Rennlist Member
Thread Starter
 
Phokaioglaukos's Avatar
 
Join Date: Oct 2004
Location: Far, far away
Posts: 3,620
Received 60 Likes on 40 Posts
Default

When i search for "antenna AND cb*" it is parsed as "antenna OR cb*" according to the top of the search results page. When I enter transmission AND oil it gets parsed as Search: Key Word(s): transmission OR oil ; Forum: 911 Forum and child forums.

Clearly I'm doing something wrong!
Old 03-01-2005, 03:53 PM
  #6  
John D.
Banned
 
John D.'s Avatar
 
Join Date: May 1998
Location: Somewhere....
Posts: 10,005
Received 56 Likes on 36 Posts
Default

OK - try it without the quotes... If you do - the parse structure will be:

Search: Key Word(s): transmission, oil without the OR statement....

Let me know if that works..?

John D.
Old 03-01-2005, 04:08 PM
  #7  
Phokaioglaukos
Rennlist Member
Thread Starter
 
Phokaioglaukos's Avatar
 
Join Date: Oct 2004
Location: Far, far away
Posts: 3,620
Received 60 Likes on 40 Posts
Default

I did it without the quotation marks.

When I enter

transmission AND oil

what I get is Search: Key Word(s): transmission OR oil ; Forum: 911 Forum and child forums and 500 hits for full text searches.

I sorted the results by relevence, BUT when I change the sort to last posting date it works and I get the 65 hits you noted.

Thank you for sticking with me on this! Are there any other search terms that work with this software? Is * a wildcard for multiple characters and ? for a single character? Should OR and AND be in all caps, or does it matter? This is such a GREAT resource!

Trending Topics

Old 03-01-2005, 04:19 PM
  #8  
John D.
Banned
 
John D.'s Avatar
 
Join Date: May 1998
Location: Somewhere....
Posts: 10,005
Received 56 Likes on 36 Posts
Default

Aww - no problem!!

Also - what browser are you using - as I'd like to recreate what you are seeing..???

A few comment - the AND, OR, NOT (depending on what you are looking for) in the phrase structure should be capitals (but, it really shouldn't matter - but... ) For example:

transmission AND oil should be the same as transmission and oil As well - the wildcard "*" can be used as a prefix or a suffix - or both! So... *miss* should bring up "transmission" while "miss*" would bring up mission...

So - let's say you were looking for just "wing antennas" in the 996 forum... You should go to the advanced search and type in:

antenn* AND wing....???

Finally!!! You can't search on two letter words, unless I have them programmed in. The reason for that is that if the "search" indexes words of two letters - the search index/database grows out of proportion, especially in light of the number of posts archived. Right now - with selected three letter words and all 4+ letter words indexed, the "word" database contains tens of millions words pointing to the nearly 2,000,000 posts...

Make sense??

Best to you - and hang in there!!!!

John
Old 03-01-2005, 04:31 PM
  #9  
Phokaioglaukos
Rennlist Member
Thread Starter
 
Phokaioglaukos's Avatar
 
Join Date: Oct 2004
Location: Far, far away
Posts: 3,620
Received 60 Likes on 40 Posts
Default

Excellent. Thanks. I'm using Internet Explorer 6.0.
Old 03-01-2005, 04:37 PM
  #10  
John D.
Banned
 
John D.'s Avatar
 
Join Date: May 1998
Location: Somewhere....
Posts: 10,005
Received 56 Likes on 36 Posts
Default

OK - just tried it with IE v6.0.2X and using:

transmission AND oil

And here is what it returns:
Search: Key Word(s): transmission, oil ; Forum: 911 Forum and child forums
Showing results 1 to 20 of 65
Search took 11.80 seconds.


Hmmm - I'm wondering if you have a default "search" set in your cookies somewhere? At the bottom of the search form - you'll see a drop down box saying:

Save Search Preferences with a "Go" button. Using that drop down - select the Clear Search Preferences and click the "Go" button.... Let me know if that works, OK????

Best to you!

John D.
Old 03-01-2005, 04:43 PM
  #11  
Phokaioglaukos
Rennlist Member
Thread Starter
 
Phokaioglaukos's Avatar
 
Join Date: Oct 2004
Location: Far, far away
Posts: 3,620
Received 60 Likes on 40 Posts
Default

John, it works! As I noted in the message above:

Originally Posted by Phokaioglaukos
I sorted the results by relevence, BUT when I change the sort to last posting date it works and I get the 65 hits you noted.
The problem was that the sort choice of relevence causes all searches to be conjunctive. Thanks, and I'm good.
Old 03-01-2005, 04:47 PM
  #12  
John D.
Banned
 
John D.'s Avatar
 
Join Date: May 1998
Location: Somewhere....
Posts: 10,005
Received 56 Likes on 36 Posts
Default

Originally Posted by Phokaioglaukos
John, it works! .....
Outstanding!!!!!

Best to you - and thanks for your patience!!!

John D.
Old 05-04-2005, 02:38 AM
  #13  
ard
Pro
 
ard's Avatar
 
Join Date: Sep 2004
Location: NorCal
Posts: 738
Received 175 Likes on 106 Posts
Default

John,

I tried your example (w/o quotes) "transmission AND oil" on the 911 forum and it return results, but (again w/o quotes) "good AND porsche AND book" or "porsche AND book" on the same 911 forum returned an error (... page unavailable ...). Any idea what might be amiss? Say you didn't include any "compiler optimizations" to cache the results of "transmission AND oil"?

Oh, and I did do a "Clear Search Preferences | GO" before searching. I am using IE 6.0.X
Old 05-04-2005, 01:34 PM
  #14  
ard
Pro
 
ard's Avatar
 
Join Date: Sep 2004
Location: NorCal
Posts: 738
Received 175 Likes on 106 Posts
Default

John,

I might be waaay out in the weeds here, but it almost feels like I am getting a time-out on a query against a db.

How is the conjunctive search structured?

My layperson approach would be:

* suppose your index table (index_table) has 2 columns: 1 for the keyword, 2 for the id of the thread where it appears.

* the to find all threads that have the keywords "good" AND "porsche" you could do the below

* is it possible that the index on the index table has become fragmented and this is causing the query to time out?

select t1.*
from [index_table] t1
inner join [index_table] t2
on t1.thread_id = t2.thread_id
where t1.keyword = "good"
and t2.keyword = "porsche"
Old 02-02-2006, 11:33 AM
  #15  
944Fest (aka Dan P)
Unaffiliated
 
944Fest (aka Dan P)'s Avatar
 
Join Date: Jun 2001
Location: Cleveland
Posts: 5,284
Received 207 Likes on 135 Posts
Default

What the heck are "Child Forums", anyway? (other than the obvious OT!)


Quick Reply: Conjunctive Searches?



All times are GMT -3. The time now is 08:43 AM.