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.
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).
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?
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.