building the query

Post Reply
m.natz
Posts: 10
Joined: Thu Jun 07, 2001 10:04 am

building the query

Post 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
User avatar
John
Site Admin
Posts: 2597
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

building the query

Post 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.
John Turnbull
Thunderstone Software
m.natz
Posts: 10
Joined: Thu Jun 07, 2001 10:04 am

building the query

Post 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
m.natz
Posts: 10
Joined: Thu Jun 07, 2001 10:04 am

building the query

Post 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?
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

building the query

Post by mark »

You will also need to
<sql "set likepobeyintersects=1"></sql>
godwin_chen
Posts: 1
Joined: Thu Nov 10, 2005 12:20 pm

building the query

Post by godwin_chen »

sd
Post Reply