Page 1 of 1

building the query

Posted: Mon Jun 25, 2001 6:26 am
by m.natz
hi
I have a question to the "@N" in the query. In the webiantor manual is written:

query: bob sam joe @1
result: Bob with Sam, or, Bob with Joe, or, Joe with Sam

but now that doesn't work neither with my customized file nor the original search example shipped with webinator commercial edition.

Now, do I have to prepare the database in a special way?
In the manual is written how powerfull that is...

Thanx

Marcel

building the query

Posted: Mon Jun 25, 2001 9:17 am
by John
That feature is disabled by default in Vortex. If you issue: <apicp alintersects 1> before issuing the query it should work. If you look at the HTML source of the output page you can see any messages produced by the engine.

building the query

Posted: Tue Jun 26, 2001 9:17 am
by m.natz
hi
thanks for your answer. but it still doesn't work. I added the line <apicp alintersects 1> and how I understand this funktion the following:

...where Title\Meta\Body likep 'word1 word2 word3 @1'

should be the same as

(word1 AND word2) OR (word1 AND word3) OR (word2 AND word3)

or not? so if I search for a word word1 that I know that it exists and any other word word2 that doesn't exist, there are not pages found.

do I understand this in a wrong way or is there something else i have to do? what are the requirements for that?

thanks for any help

building the query

Posted: Tue Jun 26, 2001 9:26 am
by m.natz
I just read this line in the manual:

In the ranking queries (LIKER, LIKEP), the intersects operator is ignored, and the + and - take on a different meaning

that explains my problem. but now, how can I do a or-search with LIKEP?

building the query

Posted: Tue Jun 26, 2001 10:10 am
by mark
You will also need to
<sql "set likepobeyintersects=1"></sql>

building the query

Posted: Thu Nov 10, 2005 2:02 pm
by godwin_chen
sd