OR search using @0 vs (,)

Post Reply
skalyanaraman
Posts: 109
Joined: Tue May 29, 2001 9:13 pm

OR search using @0 vs (,)

Post by skalyanaraman »

Hi,
I ran a search for the following,

MYTEXT like '(stat*,union)'
which gave me 84k hits.

But,
MYTEXT like 'stat* union @0'
is giving me 247257 hits.

Why is the descrepancy?

our wordc and langc are

<$wordc= '[\alnum\X27]'>
<$langc= '[\alnum\X27 \-]'>

thanks!!
skalyanaraman
Posts: 109
Joined: Tue May 29, 2001 9:13 pm

OR search using @0 vs (,)

Post by skalyanaraman »

thanks for the quick reply.
I have been under the impression, that (,) triggers a OR search.
what does equivalance operator do?
does it do, thesauraus lookup or something?
thanks!!
skalyanaraman
Posts: 109
Joined: Tue May 29, 2001 9:13 pm

OR search using @0 vs (,)

Post by skalyanaraman »

oh!!
is there a way to make * mean wildcard (instead of literally) in (,)?
also, is this inline thesaurus Linear searching?

Thanks!!
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

OR search using @0 vs (,)

Post by Kai »

There's no way to make * mean wildcard inside a paren list; its meaning is escaped because it's assumed the reason for the paren list is that all specific words are known and given.

Words in a paren list, just like words in the builtin or user thesaurus, are looked up in the index if possible (ie. indexable). There is no distinction that would cause a word in a paren list to be linearly searched when the same word in the thesaurus would not (or vice versa).
Post Reply