Force TEXIS to look for a particular word

Post Reply
Faiz
Posts: 109
Joined: Wed Jan 10, 2001 1:29 pm

Force TEXIS to look for a particular word

Post by Faiz »

Hi,
Can I force texis to look for the phrase "Support Central" and "SupportCentral" when users type in "SupportCentral" or "Support Central" without customizing the thesaurus?
Previously we had two words 'Support' and 'Central', but now we have combined them as one word, 'SupportCentral', but there are many references to the two separate words in the database. I want to bring up both "Support Central" and "SupportCentral" whenever the user searches for any of these words.
User avatar
Kai
Site Admin
Posts: 1272
Joined: Tue Apr 25, 2000 1:27 pm

Force TEXIS to look for a particular word

Post by Kai »

The only way to do this is creating a user thesaurus with backref and using it with <apicp ueqprefix /path/to/thesaurus>; or trying to edit the user's query with <sandr> before the search (it would be tricky to catch all the combinations).
Faiz
Posts: 109
Joined: Wed Jan 10, 2001 1:29 pm

Force TEXIS to look for a particular word

Post by Faiz »

Ok. I created a file eqvsusr.lst containing one line
Support Central,SupportCentral
and backreferenced it using backref eqvsusr.lst eqvsusr.
eqvsusr is in morph3 directory. When I added <apicp ueqprefix "/usr/local/morph3/eqvsusr"> and searched for 'Support Central', it brought up the documents having 'Support Central' but none having 'SupportCentral'. I tried vice-versa and got documents having 'SupportCentral' but none having 'Support Central'.
I dont want metamorph to look into the default thesaurus, so I haven't set alequivs and keepeqvs, rather I tried <apicp eqprefix "/usr/local/morph3/eqvsusr"> and still no change. Where am I making a mistake?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Force TEXIS to look for a particular word

Post by mark »

Setting eqprefix is the correct way to use your user equiv as the main. Now you need to turn on alequivs and keepeqvs. If you view the source of the results page you will probably see the errors indicating the problem.
Faiz
Posts: 109
Joined: Wed Jan 10, 2001 1:29 pm

Force TEXIS to look for a particular word

Post by Faiz »

wow!! that works... if I had to modify the thesaurus, can I just update the list and run backref again? Will it work?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Force TEXIS to look for a particular word

Post by mark »

yes.
Post Reply