w/Line Proximity

Post Reply
source1Tamer
Posts: 91
Joined: Tue Nov 13, 2001 3:49 pm

w/Line Proximity

Post by source1Tamer »

Hi,
w/line in my query is not working at all, but w/sent is working well..
so, Am I missing something, or how texis is defining a w/line proximity..for ex, it's returning the following paragraph for '+harley +noise @0 w/line'

"I want to do something with my front yard, to spruce it up with some
colorful plants, and also block traffic noise a bit. We live on a very busy
road during the summertime, as we're very near the beach, so any sound
buffer would benefit us from those darn muscle cars, Harleys, and
crotch-rockets screaming past doing wheelies. roll eyes"


Obviousley, the two mandatory words are not in the same line..
I have the following apicp configs:
<apicp qmaxsetwords 10000>
<apicp qminwordlen 1>
<apicp qminprelen 1>
<apicp alwild on>
<apicp alwithin on>
<apicp alpostproc on>
<apicp alintersects 1>
<$noiselist = "">
<apicp noise $noiselist>

The mentioned paragraph is returned from a fetch statment, and then stored in metamorph indexed table.
again, w/sent looks working fine.
source1Tamer
Posts: 91
Joined: Tue Nov 13, 2001 3:49 pm

w/Line Proximity

Post by source1Tamer »

also, the keepeqvs option looks like it's on by default, cause it's returning the word "loud" as an equivalent for "noise" when I search for w/sent proximity.and I want it to be off, in the manual it says it's off by default but this doesn't look like it.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

w/Line Proximity

Post by mark »

w/line is?defined as rex expression "$" which is \x0a on unix and \x0d\x0a on windows. If you're running texis on windows you might want to use w/\x0a instead of w/line so lines from either windows or unix based systems are both recognized.

keepeqvs is off by default. review all apicp settings you're changing.
source1Tamer
Posts: 91
Joined: Tue Nov 13, 2001 3:49 pm

w/Line Proximity

Post by source1Tamer »

good, it works with w/\x0a as I'm running windowsNT...
still I'm having this problem with keepeqvs, it's returning equivalents..
like if I'm exectuting this query:
--------------------------------

select ...where .. like '+harley +noise @0 w/\x0a'

it's returning 4 documents(records):
3 of them are good matches but the last one has the following:

noise + motorcycle (in the same line)
harley + loud (in the same line)

but not harley + noise

Is there any apicp option that would conflict with keepeqvs?? or what's wrong...


thanks..
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

w/Line Proximity

Post by mark »

Please create and post a small script to illustrate the problem. It should create a table, populate with a few sample records, set all apicp's, then perform the query and print results.

Also indicate your version of texis (output of texis -version).

BTW, loud is not an equiv for noise in the standard equiv file. Do you have your own equiv?
source1Tamer
Posts: 91
Joined: Tue Nov 13, 2001 3:49 pm

w/Line Proximity

Post by source1Tamer »

no, I'm not using my own equiv..
But you know what, I tested it again, and it looks working to me !! I think I missed the record number four...
Thank You Mark...
Post Reply