Question
Can I set up effectively synonyms on my TWiki? I have a topic that has a lot of synonyms. I would like people to search on the synonyms and get the main page. How can I set this up?
Ex. I have the page
ColorBlue. People might search on
ColorAqua,
ColorNavy or
ColorSkyBlue; I would like all these searches to result in the
ColorBlue page.
I did some searching on redirecting, but that has information on redirecting pages that already exist. I don't see information on redirecting search topics. I have a known number of possible synonyms for each topic, so my gut says I should be able to accomplish this with metadata. But I don't know.
Any thoughts or direction for me?
Thanks!
--gloria
Environment
--
GloriaUrbanic - 02 Feb 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Perhaps you can put an invisile HTML stament with these synonyms in the topic. In your example this could be something like
<!-- ColorAqua, ColorNavy, ColorSkyBlue -->
This line is not visible in the topic on viewing it but it is found by
SEARCH
--
MarkusHesse - 03 Feb 2007
Along these lines, on our corporate intranet we write a line of synonyms in every topic. Like:
Synonyms: RoR, Ruby
These are picked up by search. The problem might be of course when synonyms need to be changed - there is no central place for all synonyms. It would be possible though with a custom search.
--
ArthurClemens - 03 Feb 2007
A custom search will display the synonyms, but they won't be available when searching. See for example
Sandbox.ReadSynonymTest that gets the synonyms from
Sandbox.SynonymList. If you do a search on
unpigmented the results will only show the list topic.
--
ArthurClemens - 04 Feb 2007
Thanks Marcus and Arthur. That worked!
--
GloriaUrbanic - 05 Feb 2007