Page 1 of 1

Backref & Thesaurus

Posted: Wed May 30, 2001 9:28 am
by brian_macfarland
I'm having trouble setting user equavalents. I have successfully ran my the backref utility on a small list:

backref -l1 mapping.lst mapping
600 Level: 1, Index only
600 Max line size: 5192
203 Reading mapping.lst
204 2 Lines, 4 Words, 2 Entries
204 4 Dup words, 0 Dup entries
203 Writing mapping
200 2 records
200 Writing index...
200 Writing data (1k)...
200 Writing cache...
200 Writing header...
204 Number of entries: 2
204 Number of words : 4

I'm tring to call it, by:

<apicp ueqprefix "mydir/mapping">

This doesn't seem to have any effect on the results. I'm looking for some kind of debugging mechanism for this. What other apicp calls would I need to call to make this work?

Backref & Thesaurus

Posted: Wed May 30, 2001 9:53 am
by mark
Have you looked at the source of the results page to see if there are any error or warning messages within HTML comments?

Are you sure that your script is running the directory what will make the relative path "mydir/mapping" correct? I would suggest using a full path instead.

Have you enabled the related apicp settings?
alequivs
keepeqvs (or use ~ in the query)

Backref & Thesaurus

Posted: Fri Jun 01, 2001 4:40 pm
by brian_macfarland
There were no warnings in the HTML source. The mapping is correct. When I enabled alequivs and keepeqvs, that worked, but it now the server load is going through the roof. I'm guessing that this is loading other equivalencies and such. Do you know how to set alequivs and keepeqvs is such a way that it just activates my minimal user thesaurus? For the most part I want to keep them off for performance, reasons.

Backref & Thesaurus

Posted: Fri Jun 01, 2001 5:02 pm
by mark
To use your user equiv *instead* of the main equiv simply set the eqprefix, instead of ueqprefix, to the path of your equiv file.

Backref & Thesaurus

Posted: Fri Jun 01, 2001 5:17 pm
by brian_macfarland
Thanks, that's perfect. It makes sense now that I think of it.