intersection search Q&A

Post Reply
jkj2001
Posts: 142
Joined: Fri Mar 29, 2002 1:39 pm

intersection search Q&A

Post by jkj2001 »

Hi guys,

A quick on here, I think. If we run this intersection search:

select FIELD01 where FIELD01 like '+David Mike James @0'

...we're guaranteed to return hits with David in them, but Mike and James may or may not be in the results?-- that's correct?

If we wanted at least one of Mike or James to accompany David, would we want to use "@1" instead of "@0"?
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

intersection search Q&A

Post by John »

@0 means one of Mike or James. @1 would require both.
John Turnbull
Thunderstone Software
jkj2001
Posts: 142
Joined: Fri Mar 29, 2002 1:39 pm

intersection search Q&A

Post by jkj2001 »

Interesting. So just to make sure I follow, the first search with @0 will return hits with at least one of "Mike" or "James"?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

intersection search Q&A

Post by mark »

Right.
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

intersection search Q&A

Post by John »

Correct.

If you don't need any to match then there is no point in specifying the query terms. The number of intersections is one less than the number of set-logic (not + or -) terms that need to appear (if only one matches then there isn't another one to intersect with).
John Turnbull
Thunderstone Software
Post Reply