Backref & Thesaurus

Post Reply
brian_macfarland
Posts: 5
Joined: Fri Feb 02, 2001 12:10 pm

Backref & Thesaurus

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

Backref & Thesaurus

Post 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)
brian_macfarland
Posts: 5
Joined: Fri Feb 02, 2001 12:10 pm

Backref & Thesaurus

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

Backref & Thesaurus

Post 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.
brian_macfarland
Posts: 5
Joined: Fri Feb 02, 2001 12:10 pm

Backref & Thesaurus

Post by brian_macfarland »

Thanks, that's perfect. It makes sense now that I think of it.
Post Reply